SftTree/OCX 7.0

VirtItem Object (IVirtItem Interface)

Softel vdm, Inc.

The VirtualItem object is used during the VirtualItem event to provide item attributes. The event is called for each item, so the application can provide all necessary information for a particular item using the VirtualItem object's properties.

Properties and methods shown grayed are provided for compatibility with older releases only and should no longer be used.

 

Property/Method

Description

CellBackColor

Defines the background color used to draw the item's cell that is not selected.

CellFont

Defines the font used to display the item's cell text.

CellForeColor

Defines the foreground color used to draw the item's cell that is not selected.

CellPicture

Defines the graphic displayed as the item's cell graphic.

CellPictureAlign

Defines the position of the graphic displayed in the item's cell.

CellPictureH

Defines the graphic displayed as the item's cell graphic.

CellSelectBackColor

Defines the background color used to draw the item's cell that is selected.

CellSelectForeColor

Defines the foreground color used to draw the item's cell that is selected.

CellText

Defines the item's cell text.

CellTextAlign

Defines the position of the text displayed in the item's cell.

ColumnCount

Returns the current number of columns.

Enabled

Defines the item's enabled/disabled status.

Item

Returns the SftTreeItem object of the item currently requested from the virtual data source.

ItemData

Defines the item's application specific value.

ItemDataFloat

Defines the item's application specific floating point value.

ItemDataObject

Defines the item's application specific object.

ItemDataString

Defines the item's application specific string value.

ItemDataTag

Defines an application defined value associated with the item.

ItemID

Defines the item's item ID.

ItemPicture

Defines the graphic displayed as the item's item graphic.

ItemPictureH

Defines the graphic displayed as the item's item graphic.

LabelPicture

Defines the graphic displayed as the item's label graphic.

LabelPictureH

Defines the graphic displayed as the item's label graphic.

RowBackColor

Defines the row header background color used to draw the item when it is not selected.

RowForeColor

Defines the row header foreground color used to draw the item when it is not selected.

RowIndex

Returns the item index of the item currently requested from the virtual data source.

RowPicture

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

RowPictureAlign

Defines the position of the graphic displayed in an item's row header.

RowPictureH

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

RowSelectBackColor

Defines the row header background color used to draw the item when it is selected.

RowSelectForeColor

Defines the row header foreground color used to draw the item when it is selected.

RowText

Defines the item's row header text.

RowTextAlign

Defines the position of the text displayed in the item's row header.

SetCellColorSample

Defines the color sample displayed as the item's cell graphic.

SetCellPictureImage

Defines the graphic displayed as the item's cell graphic.

SetItemPictureImage

Defines the graphic displayed as the item's item graphic.

Properties and methods shown grayed are provided for compatibility with older releases only and should no longer be used.

See Also  Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com