(AGK version: 108.14)
Submitted: 2013-06-28 15:35:31
Setvirtualresolution(640,480)
ResetTimer()

CreateEditBox(1)
SetEditBoxPosition(1,10,50)

Repeat
    If GetEditBoxHasFocus(1)=1
        Print ("Edit Box 1 Has Focus")
    EndIf
    Sync()
Until Timer()>15
End
Help make AGK better by submitting an example for this command!
(All examples are subject to approval)
Login to post an example of your own.