DropDownControlCommitSelection(Int32) Method

This can be called to select an item by index and hide the drop-down

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public void CommitSelection(
	int idx
)

Parameters

idx  Int32
The index to select

Remarks

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.

See Also