Is there a Solution for this problem?

Joe Lewis Wilkins pepetoo at cox.net
Sun May 6 10:18:29 EDT 2007


Hi Charles,

I'm sure someone else will provide a more elegant solution, but you  
may always validate the values within each of the fields as part of  
the operation of the Calculate button, correcting the inappropriate  
values prior to completing the calculation.

Joe Wilkins

On May 6, 2007, at 6:06 AM, Charles Szasz wrote:

> I have entry fields that the user fills in with numbers by using  
> the tab, return or enter keys. Each field is checked for a range of  
> scores by catching the exit or close field. If the user enters a  
> number that is above the range for the entry field, a dialog box  
> appears warning them of the mistake and puts the focus back on the  
> field.  Here is my question: I found that if the user uses the tab,  
> return or enter keys to enter the data with fields and then goes  
> back using the cursor and changes a data entry that is above above  
> the range and instead of using the above keys then uses the mouse  
> to click a Calculate button which computes the scores and goes to  
> the next card, the error box does not appear but I get an execution  
> error  in the standalone. How do you trap for this when the user  
> does not use the tab, enter or return keys but uses the mouse to  
> move the cursor to click on the calculate button?
>
>
> Charles Szasz
> cszasz at mac.com
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list