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 |