Righty, here's the code:
When I press return in the text box I get an event ID of $104 (wtf?!) and EventSource and EventData of 0.
Windows XP Professional, SP2
pseudo_group_window = CreateWindow("Select Name For Group",ClientWidth(Desktop())/2,ClientHeight(Desktop())/2,256,128,0,1) pseudo_group_textfield = CreateTextField (16,16,ClientWidth(pseudo_group_window)-32,16,pseudo_group_window) SetGadgetText (pseudo_group_textfield,"hello") Repeat id=WaitEvent() DebugLog "Event = $"+Right$(Hex$(id),4) + " "+EventSource() + " "+EventData() Select id Case EVENT_GADGET If EventSource() = pseudo_group_textfield SetGadgetText (pseudo_group_label,EventData()) If EventData() = 13 Stop Exit EndIf EndIf End Select Forever
When I press return in the text box I get an event ID of $104 (wtf?!) and EventSource and EventData of 0.
Windows XP Professional, SP2