During runtime I want my GUI to confirm there are values in 4 edit boxes before the user can continue filling out the 5th edit box.
The edit box values will be of numbers and not strings.
To do this I want to input code in the edit box 5 callback. Something like (pseudo-code):
if editbox1 & editbox2 & editbox3 & editbox4 isemptylistbox3 = 'All boxes in first section not populated'elseend.
How do the edit boxes hold their values? I assume they are of the type string.
Do I need to create and array(vector), populate the array with values (string, number or Boolan value), convert said values in the array from string to numbers, check population and keep the values of type number or, can the if statement compare the 4 edit boxes in sequence to check population and use the values as type number?
Best Answer