SftBox/OCX 4.5

SftBoxItems.Clear Method

Softel vdm, Inc.

Removes all items.

Syntax       

VB.NET

object.Clear()

VB

object.Clear

C#.NET

void object.Clear();

VC++

HRESULT object->Clear();

C

HRESULT object->raw_Clear();

Delphi

procedure object.Clear();

object

A SftBoxItems object.

Comments

The Clear method removes all items.

Individual items can be deleted using the Items.Remove or Item.DeleteDependents methods.

The drop down portion is automatically hidden when the combo box contents are changed using this method. The DropDown.SuppressOn method can be used to suppress hiding the drop down portion when adding/inserting items.


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