ComboBox: Setting the 'List' property now raises the 'Click' event if the first item is automatically selected.

[GB.GUI.BASE]
* BUG: ComboBox: Setting the 'List' property now raises the 'Click' event if the first item is automatically selected.
This commit is contained in:
Benoît Minisini 2022-08-06 19:05:44 +02:00
parent 6548c75a0e
commit 122d963552

View file

@ -215,11 +215,12 @@ End
Private Sub ResetIndex()
Me.Refresh
If $bReadOnly And If $aList.Count And If $iIndex < 0 Then
Sort()
$iIndex = 0
Raise Click
Endif
Me.Refresh
End