sending focus to next field

Dr. Hawkins dochawk at gmail.com
Sun Jun 17 10:06:08 CDT 2012


On Sun, Jun 17, 2012 at 7:07 AM, Richmond <richmondmathewson at gmail.com> 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

was this an "end"

>
> the 'repeat' line "threw a bluey" (is: bad validation type)
>
> replaced 'is' with '=' . . . same old sh*t.

>What am I missing?


did you cycle past the number of objects?

  if fOB > the number of objects then fOB=1

?
-- 
The Hawkins Law Firm
Richard E. Hawkins, Esq.
(702) 508-8462
HawkinsLawFirm at gmail.com
3025 S. Maryland Parkway
Suite A
Las Vegas, NV  89109



More information about the use-livecode mailing list