On 06/18/2012 09:42 PM, J. Landman Gay wrote:
On 6/18/12 1:09 PM, Richmond wrote:

Tried this and had NO JOY:

on mouseUp
   put the id of the focusedObject into fOB
repeat until control id fOB is a field
   put (fOB + 1) into fOB
end repeat
   focus on fld id fOB
on mouseUp

the 'repeat' line "threw a bluey" (is: bad validation type)

replaced 'is' with '=' . . . same old sh*t.

What am I missing? "

and am still waiting for a reply that might allow me to lever my
original solution.

The problem is that the syntax you're using isn't supported. The "is a field" syntax only checks for existence. It can't be used to identify if a control is of a particular type.


That's an awful pity.

How does one differentiate between control types?


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to