SftTree/OCX 7.0

SftTree.VirtualItemChanged Method

Softel vdm, Inc.

Notifies the control that one or all items of the virtual data source have changed.

Syntax       

VB.NET

object.VirtualItemChanged(ByVal ItemIndex As Integer)

VB

object.VirtualItemChanged(ByVal ItemIndex As Long)

C#.NET

void object.VirtualItemChanged(int ItemIndex);

VC++

HRESULT object->VirtualItemChanged(long ItemIndex);

C

HRESULT object->raw_VirtualItemChanged(long ItemIndex);

Delphi

procedure object.VirtualItemChanged(ItemIndex : Integer);

object

A SftTree object.

ItemIndex

The zero-based index of the item which has been modified in the virtual data source.  If -1 is used, all items in the virtual data source are considered altered.

Comments

The VirtualItemChanged method notifies the control that one or all items of the virtual data source have changed.

By notifying the tree control that items in the virtual data source have changed, the items in the tree control can be repainted if needed, reflecting their new attributes.

If the tree control is not a virtual tree control (items have been added using Items.Add or Items.Insert), this method will fail. 

See Also  SftTree Object | Object Hierarchy


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