I'm working on a GUI design and I created a edit box and a pushbutton. Shown in the picture below.
What I would like to achieve is that when I type some words in the editbox, if the length of the string I type in is greater than 5, I would like to evoke the pushbotton on the right by doing to things - 1) The string for the pushbutton 'next' will appear on the pushbutton; and 2) the pushbutton will be enabled.
However, the code I worte under 'edit1_Callback' doesn't seem to evoke the pushbotton at all. Why?