mirror of
https://github.com/FellippeHeitor/InForm.git
synced 2025-01-14 19:49:33 +00:00
Fixes #93: Hides cursor when window is not in focus.
This commit is contained in:
parent
40daacf007
commit
929d5c359c
1 changed files with 1 additions and 0 deletions
|
@ -833,6 +833,7 @@ SUB __UI_DrawTextBox (This AS __UI_ControlTYPE, ControlState, ss1 AS LONG, ss2 A
|
|||
SetCursor# = TIMER
|
||||
cursorBlink%% = NOT cursorBlink%%
|
||||
END IF
|
||||
IF _WINDOWHASFOCUS = False THEN cursorBlink%% = False
|
||||
|
||||
IF This.Cursor > UBOUND(__UI_ThisLineChars) THEN This.Cursor = UBOUND(__UI_ThisLineChars)
|
||||
This.VisibleCursor = CaptionIndent + __UI_ThisLineChars(This.Cursor) - This.InputViewStart
|
||||
|
|
Loading…
Reference in a new issue