SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Restores hiding the drop down portion when adding/inserting items.
VB.NET | object.SuppressOff() |
VB | object.SuppressOff |
C#.NET | void object.SuppressOff(); |
VC++ | HRESULT object->SuppressOff(); |
C | HRESULT object->raw_SuppressOff(); |
object
The SuppressOff method restores 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 DropDown.SuppressOn method can be called before updating the control. Once updating is complete, the SuppressOff method is called to restore the default behavior. Calls to DropDown.SuppressOn are cumulative and must be matched by an equal number of calls to SuppressOff. The last call to 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