Think you guys are gonna get sick of me!
How do I create a TextBox and save the Inputed data as a string?
Like in a windows form!
How do I create a TextBox and save the Inputed data as a string?
Like in a windows form!
win = CreateWindow("test",50,50,200,120) txt = CreateTextField(5,5,80,24,win) SetGadgetText txt,"Hello" btn = CreateButton("Click me",90,5,80,24,win) Repeat WaitEvent() Select EventID() Case EVENT_WINDOWCLOSE End Case EVENT_GADGETACTION Select EventSource() Case btn DebugLog TextFieldText(txt) End Select End Select Forever
DebugLog TextFieldText(txt)With something like:
MyString$ = TextFieldText(txt)