Defines whether the item under the mouse is selected in the open dropdown.
Class: SftBox
Namespace: Softelvdm.SftBoxNET
Assembly: Softelvdm.SftBoxNET
public bool HotTrackSelection { get; set; }
Public Property HotTrackSelection As BooleanTrue to select the item under the mouse, False to select items only by clicking and with the keyboard.
The default value is True.
Defines whether the item under the mouse is selected in the open dropdown.
The item becomes the combo box's selection only when it is clicked or chosen with Enter.
private void checkResizable_CheckedChanged(object sender, EventArgs e) {
foreach (SftBox box in boxes)
box.DropDownResizable = checkResizable.Checked;
}
private void checkHotTrack_CheckedChanged(object sender, EventArgs e) {
foreach (SftBox box in boxes)
box.HotTrackSelection = checkHotTrack.Checked;
}
private void checkDropOnFocus_CheckedChanged(object sender, EventArgs e) {
foreach (SftBox box in boxes)
box.DropOnFocus = checkDropOnFocus.Checked;
}
}
For Each box As SftBox In boxes
box.DropDownResizable = CheckResizable.Checked
Next
End Sub
Private Sub CheckHotTrack_CheckedChanged(ByVal sender As Object, ByVal e As EventArgs) Handles CheckHotTrack.CheckedChanged
If boxes Is Nothing Then Return
For Each box As SftBox In boxes
box.HotTrackSelection = CheckHotTrack.Checked
Next
End Sub
Private Sub CheckDropOnFocus_CheckedChanged(ByVal sender As Object, ByVal e As EventArgs) Handles CheckDropOnFocus.CheckedChanged
If boxes Is Nothing Then Return
For Each box As SftBox In boxes
box.DropOnFocus = CheckDropOnFocus.CheckedSee Also SftBox Class | Classes | SftBox/NET 3.0