Setvirtualresolution(640,480)
ResetTimer()
CreateEditBox(1)
SetEditBoxPosition(1,10,50)
CreateEditBox(2)
SetEditBoxPosition(2,10,80)
//Move the screen viewport to see the effect on the Edit Box
Repeat
Printc ("The Edit Box Which Has Focus Is ID:")
Print(GetCurrentEditBox())
Sync()
Until Timer()>18
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)
Setvirtualresolution(640,480) ResetTimer() CreateEditBox(1) SetEditBoxPosition(1,10,50) CreateEditBox(2) SetEditBoxPosition(2,10,80) //Move the screen viewport to see the effect on the Edit Box Repeat Printc ("The Edit Box Which Has Focus Is ID:") Print(GetCurrentEditBox()) Sync() Until Timer()>18 End