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
The current selection is accepted (permanently).
VB.NET | Private Sub object_SelectionAccept(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.SelectionAccept |
VB | Private Sub object_SelectionAccept() |
C#.NET | void object_SelectionAccept(object sender, EventArgumentType e); |
VC++ | void OnSelectionAcceptobject(); |
C | HRESULT OnSelectionAcceptobject(); |
object
The SelectionAccept event occurs when the current selection is accepted (permanently).
The SelectionChange event should be used to determine when the selection changes.
The SelectionAccept event occurs when the user makes a selection (for example by hitting the ENTER key or by clicking on an item) and the drop down portion is about to be hidden. A simple combo box does not generate the SelectionAccept event.
The application can prevent the drop down portion from being hidden by using the CancelMode method. If a message box is displayed by the application to notify the user of an error, keep in mind that the combo box drop down portion will be hidden, due to the fact that the control loses the input focus. You can display the drop down portion on return from the message box using the DropDown.Dropped property.
The SelectionCancel event occurs when the drop down portion is hidden without the user making a selection (for example by hitting the ESCAPE key).
See Also SftBox Object | Object Hierarchy