Change Focus to Group

Jan Schenkel janschenkel at yahoo.com
Fri Dec 30 13:33:40 EST 2005


--- Jeff Honken <jhonken at x12.info> wrote:
> I'm trying to switch the focus from a field that I'm
> in to a group of
> radio buttons by entering "Return".  I'm using the
> following:
> 
> on returnInField
>  focus on group ProviderRadio
> end returnInField
> 
> The focus seems to be working great from field to
> field but when I try
> to go to a group it errors.  Can someone steer me in
> the correct
> direction on this.  Jeff
> 

Hi Jeff,

Groups themselves can't receive focus, but the items
inside the group can. Try something like this:
--
on returnInField
  focus on control 1 of group "ProviderGroup"
end returnInField
--

Hope this helped,

Jan Schenkel.

Quartam Reports for Revolution
<http://www.quartam.com>

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


		
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 




More information about the use-livecode mailing list