main logo
Subject: Re: SetFocusToFirst and OptionGroups
Author: Frank Cazabon
Posted: 2001/05/08 08:21:42
 
View Entire Thread
New Search


Hi Philippe,

I had added a setfocus method to the optiongroup with the code as you suggested and it worked.

Thanks,

Frank

<i><font color="#663300"><i><font color="#663300">
... the problem is that the OptionGroup does not have a SetFocus method.
is there a later version of SetFocusToFirst that works with OptionGroups?

Thanks</font></i>

I've run into the same problem. An easy solution is to add yourself an setfocus method to the ioptiongroup (maybe it could belong to the c-level some day). The default code for setfocus is simple:

if this.value=0
this.buttons(1).setfocus()
else
this.buttons(this.value).setfocus()
endif

</font></i>


Frank Cazabon

www.samaansystems.com
 
©2001 Frank Cazabon
<-- Prior Message New Search Next Message -->