DropDownControlCommitSelection(Int32) Method
This can be called to select an item by index and hide the drop-down
Namespace: EWSoftware.ListControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public void CommitSelection(
int idx
)
Public Sub CommitSelection (
idx As Integer
)
public:
void CommitSelection(
int idx
)
member CommitSelection :
idx : int -> unit
Parameters
- idx Int32
- The index to select
This will guarantee that the drop-down is closed prior to setting the new value so that the
drop-down doesn't block or hide dialog boxes that may get displayed in a user's event handler.