hi !
how to detect that the mouse is inside a textfield gadget ? Could i use EVENT_MOUSEENTER or EVENT_MOUSEMOVE to check this ?
Thanks !
how to detect that the mouse is inside a textfield gadget ? Could i use EVENT_MOUSEENTER or EVENT_MOUSEMOVE to check this ?
Thanks !
Local MyWindow:TGadget=CreateWindow("test", 200,200,320,240) Local MyField:Tgadget = CreateTextField (10,10,200,20, MyWindow) Repeat WaitEvent() Print CurrentEvent.ToString() Select EventID() Case EVENT_WINDOWCLOSE End Case EVENT_MOUSEENTER, EVENT_MOUSEMOVE Select EventSource() Case MyField Notify "mouse is inside the textfield" End Select End Select Forever