ComboBox: Setting the 'Index' property to '-1' whereas it is already '-1' must not raise the 'Click' event.
[GB.GUI.BASE] * BUG: ComboBox: Setting the 'Index' property to '-1' whereas it is already '-1' must not raise the 'Click' event.
This commit is contained in:
parent
81c8e435a4
commit
1168502a51
1 changed files with 2 additions and 0 deletions
|
@ -383,6 +383,8 @@ Private Sub Index_Write(Value As Integer)
|
|||
|
||||
If Value < -1 Or If Value >= $aList.Count Then Error.Raise("Bad argument")
|
||||
|
||||
If $iIndex < 0 And If Value < 0 Then Return
|
||||
|
||||
Sort()
|
||||
If $bReadOnly Then
|
||||
If $iIndex <> Value Then
|
||||
|
|
Loading…
Reference in a new issue