Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

VirtualItem Object (IVirtItem Interface)

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/MethodDescription
CellBackColorDefines the background color used to draw the item's cell that is not selected.
CellFontDefines the font used to display the item's cell text.
CellForeColorDefines the foreground color used to draw the item's cell that is not selected.
CellPictureDefines the graphic displayed as the item's cell graphic.
CellPictureAlignDefines the position of the graphic displayed in the item's cell.
CellPictureHDefines the graphic displayed as the item's cell graphic.
CellSelectBackColorDefines the background color used to draw the item's cell that is selected.
CellSelectForeColorDefines the foreground color used to draw the item's cell that is selected.
CellTextDefines the item's cell text.
CellTextAlignDefines the position of the text displayed in the item's cell.
ColumnCountReturns the current number of columns.
EnabledDefines the item's enabled/disabled status.
ItemReturns the SftTreeItem object of the item currently requested from the virtual data source.
ItemDataDefines the item's application specific value.
ItemDataFloatDefines the item's application specific floating point value.
ItemDataObjectDefines the item's application specific object.
ItemDataStringDefines the item's application specific string value.
ItemDataTagDefines an application defined value associated with the item.
ItemIDDefines the item's item ID.
ItemPictureDefines the graphic displayed as the item's item graphic.
ItemPictureHDefines the graphic displayed as the item's item graphic.
LabelPictureDefines the graphic displayed as the item's label graphic.
LabelPictureHDefines the graphic displayed as the item's label graphic.
RowBackColorDefines the row header background color used to draw the item when it is not selected.
RowForeColorDefines the row header foreground color used to draw the item when it is not selected.
RowIndexReturns the item index of the item currently requested from the virtual data source.
RowPictureDefines the graphic displayed in the item's row header.
RowPictureAlignDefines the position of the graphic displayed in an item's row header.
RowPictureHDefines the graphic displayed in the item's row header.
RowSelectBackColorDefines the row header background color used to draw the item when it is selected.
RowSelectForeColorDefines the row header foreground color used to draw the item when it is selected.
RowTextDefines the item's row header text.
RowTextAlignDefines the position of the text displayed in the item's row header.
SetCellColorSampleDefines the color sample displayed as the item's cell graphic.
SetCellPictureImageDefines the graphic displayed as the item's cell graphic.
SetItemPictureImageDefines 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


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