I have a get (see below) that I want only entries from 8 to 120 in increments of 4. The only problem I have is that the user can manually type in a number that is not divisible by 4 (ex. they type 29)
How can I prevent the user from either manually entering a number (I still want them to use the spinner) or not accept a value unless it is divisible by 4 ??
- Code: Select all Expand view RUN
REDEFINE GET oGet var nNumber id 102 of oDlg PICTURE "999" ;
SPINNER MIN 8 MAX 120 UPDATE