07-12-2005 01:17 PM
07-12-2005 01:41 PM
07-12-2005 01:47 PM
07-12-2005 09:40 PM
Something else to consider is changing your user interface design to prevent the entry of incorrect data in the first place. It's always easier to prevent errors than catch them after they occur. What kind of data does the operator have to enter?
Mike...
07-13-2005 08:59 AM
07-13-2005 09:10 AM - edited 07-13-2005 09:10 AM
You could just accept the values anyway, then let the program figure which one's bigger and thus supposed to be the end value.
Just feed the two inputs to min&max (comparison palette), then flip them in the controls as needed using local variables. (If they are equal, increment the end value by one!). Basically implement an autocorrect feature. It is not worth bothering the user with such details. 😉
Message Edited by altenbach on 07-13-2005 07:11 AM