mouseDown/Up - no actions when not on buttons

Pat Trendler ptrendler at bigpond.com
Wed Feb 9 20:50:12 EST 2005


J Landman Gay wrote:

snip
> Instead of trying to get the name for all cases, change the syntax to:
>
> case navUp
>     -- Determine which text field the user was in
>     if the selectedField contains "User ID" then -- change this
>       focus on field "Password"

Jaqueline,
The above is always empty. If you use:

> put the short name of the selectedField into activeField
>   if activeField = "User ID" then

as Jason did, you can store the selectedField.

Of course, the rest of your recommendations are a far better way of coding.

Pat
patrend at bigpond.com





More information about the Use-livecode mailing list