SftBox/OCX 4.5

SftBoxItem Object (ISftBoxItem Interface)

Softel vdm, Inc.

The SftBoxItem object represents one item in a SftBox/OCX control. A SftBoxItem object for a particular item can be accessed through the control's Item property.
 
Certain default properties and behavior for items can be defined using the SftBoxItems object.

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

Property/Method

Description

Cell

Returns an item's SftBoxCell object given a column number.

ClearCellImages

Removes the cell images from this item.

Collapse

Collapses the item so its dependents are no longer visible.

Data

Defines the item's application specific numeric value.

DataObject

Defines the item's application specific object value.

DataTag

Defines the item's application specific variant value.

DeleteDependents

Deletes the item's dependents (child items).

DependentCount

Returns the item's number of dependents (child items).

Enabled

Defines the item's enabled/disabled status.

Expand

Expands the item so its dependents become visible.

Expandable

Defines whether the item is expandable.

Expanded

Defines whether the item is expanded or collapsed.

FirstDependent

Returns the item's first dependent (child item).

FirstSibling

Returns the item's first sibling.

GetPosition

Returns the item's position and dimensions.

GetPositionPix

Returns the item's position and dimensions in pixels.

GetPositionV

Returns the item's position and dimensions.

Height

Returns the item's height.

HeightPix

Returns the item's height in pixels.

ID

Defines the item ID of the item.

Image

Defines the item graphic displayed in this item.

ItemIndex

Returns the item index of this item.

LabelImage

Defines the label graphic displayed in this item.

LabelPicture

Defines the label graphic displayed in this item.

LastDependent

Returns the item's last dependent (child item).

LastSibling

Returns the item's last sibling item.

Level

Defines the item's level number (indentation).

MakeVisible

Makes the item visible using vertical scrolling if needed.

MaxHeightPix

Defines the maximum height of the item.

MinHeightPix

Defines the minimum height of the item.

NextShown

Returns the index of the next visible item.

NextSibling

Returns the item's next sibling item.

Parent

Returns the item's parent item.

Picture

Defines the item graphic displayed in this item.

PrevShown

Returns the index of the previous visible item.

PrevSibling

Returns the item's previous sibling.

RowHeader

Returns the item's SftBoxRowHeader object.

Shown

Defines whether the item is shown.

Tag

Defines the item's application specific variant value.

TopParent

Returns the item's top-most parent item.

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
© 2008 - Softel vdm, Inc. - www.softelvdm.com