Input has gone

BlitzPlus Forums/BlitzPlus Beginners Area/Input has gone

ThePict(Posted 2013) [#1]
Been coding with B2D for a number of years, but recently migrated to B+ as Max was a bit too big a leap.
Input has gone. Well it's still sort of there but my Netbook freezes when the new console window comes up.

I have read through the gadgets GUI stuff and I'm sure I could eventually master writing a gadget to simply get inputted text, but perhaps someone else has done so already.

My requirements are:
A short line of input text
4 radio buttons (where only one can be 'on')
A larger box of input text
A save button (which also closes the gadget/console/window thingy)

Shape, size, canvas etc are of no concern.
It is so I can enter crossword clues into my datafile, so line one is the word, the radio buttons are for clue type(cryptic,straight,quiz etc), then the clue itself, and save.
Is it possible for the Gadget to Return info like a Function does?


Bergmann(Posted 2014) [#2]
Gadgets, such as buttons, return events when clicked. It returns a $401 event. As for textareas and textfields, their text can be retrieved with 'textareatext' and 'textfieldtext'. I've created a simple program below to demonstrate.