Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

RowPicture Property, VirtualItem Object

Defines the graphic displayed in the item's row header.

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.RowHeader.Image.Picture instead

Syntax

Get

VB.NETrefPictureObj = object.RowPicture As stdole.IPictureDisp
VBSet refPictureObj = object.RowPicture As IPictureDisp
C#.NETstdole.IPictureDisp refPictureObj = object.RowPicture;
VC++IPictureDisp* refPictureObj = object->GetRowPicture();
CHRESULT object->get_RowPicture(IPictureDisp** refPictureObj);

Put

VB.NETobject.let_RowPicture(ByVal refPictureObj As stdole.IPictureDisp)
VBobject.RowPicture = refPictureObj As IPictureDisp
C#.NETvoid object.let_RowPicture(stdole.IPictureDisp refPictureObj);
VC++void object->PutRowPicture(IPictureDisp* refPictureObj);
CHRESULT object->put_RowPicture(IPictureDisp* refPictureObj);

PutRef

VB.NETobject.RowPicture = refPictureObj As stdole.IPictureDisp
VBSet object.RowPicture = refPictureObj As IPictureDisp
C#.NETstdole.IPictureDisp object.RowPicture = refPictureObj;
VC++void object->PutRefRowPicture(IPictureDisp* refPictureObj);
CHRESULT object->putref_RowPicture(IPictureDisp* refPictureObj);

object

A VirtItem object.

refPictureObj

Defines the graphic displayed in the item's row header. The refPictureObj object must represent a bitmap, icon or Windows metafile. If a bitmap is used, the top, left pixel of each graphic must contain the background color. This color will be replaced by the actual background when the graphic is displayed. For information about picture properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.RowHeader.Image.Picture instead

The RowPicture property defines the graphic displayed in the item's row header.

The VirtualItem.RowPicture property is used while handling a VirtualItem event to define the item's row header graphic. The item is described by the VirtualItem event's RowIndex parameter.

See Also VirtualItem Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.