mirror of
https://github.com/FellippeHeitor/InForm.git
synced 2025-01-15 11:59:34 +00:00
Prevents sending property if controls aren't focused (UiEditor).
This commit is contained in:
parent
b275c501bc
commit
ad5f7e4654
1 changed files with 3 additions and 0 deletions
|
@ -2246,12 +2246,15 @@ SUB __UI_ValueChanged (id AS LONG)
|
|||
DIM b$
|
||||
SELECT EVERYCASE id
|
||||
CASE AlignOptions
|
||||
IF __UI_Focus <> id THEN EXIT SUB
|
||||
b$ = MKI$(Control(AlignOptions).Value - 1)
|
||||
SendData b$, 22
|
||||
CASE VAlignOptions
|
||||
IF __UI_Focus <> id THEN EXIT SUB
|
||||
b$ = MKI$(Control(VAlignOptions).Value - 1)
|
||||
SendData b$, 32
|
||||
CASE BulletOptions
|
||||
IF __UI_Focus <> id THEN EXIT SUB
|
||||
b$ = MKI$(Control(BulletOptions).Value - 1)
|
||||
SendData b$, 37
|
||||
CASE Red
|
||||
|
|
Loading…
Reference in a new issue