Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxDropDown.SuppressOn Method

Suppresses hiding the drop down portion when adding/inserting items.

Syntax

VB.NETobject.SuppressOn()
VBobject.SuppressOn
C#.NETvoid object.SuppressOn();
VC++HRESULT object->SuppressOn();
CHRESULT object->raw_SuppressOn();

object

A SftBoxDropDown object.

Comments

The SuppressOn method suppresses hiding the drop down portion when adding/inserting items.

The drop down portion is automatically hidden when the combo box contents are changed using the methods Items.Add, Items.Clear, Items.Collapse, Item.Collapse, Items.Copy, Items.CopyAfter, Item.DeleteDependents, Items.Expand, Item.Expand, Items.Insert, Items.InsertAfter, Items.Move, Items.MoveAfter, Items.Remove.

To keep the drop down portion visible, the SuppressOn method can be called before updating the control. Once updating is complete, the DropDown.SuppressOff method is called to restore the default behavior. Calls to SuppressOn are cumulative and must be matched by an equal number of calls to DropDown.SuppressOff. The last call to DropDown.SuppressOff restores the default behavior. It is also possible to call the DropDown.SuppressReset method, which restores the default behavior immediately.

This method has no effect on a simple combo box.

See Also SftBoxDropDown Object | Object Hierarchy


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