Hi!
If you use KeyPress event to move focus on Enter key, add NODEFAULT to the code in this event to remove default functionality.
>Hi,
>
>A number of optiongroups.
>
>The control variable for all the options is set to zero befor I begin
>entering data.
>
>I can write code so that the next group gets the focus whenever I click on any option in a group. The first option in the next group gets the focus.
>
>But when I use the enter key, the next group becomes active - but the last option of the group gets focus.
>
>How can I force the activation of the first option instead?
>
>Rolf
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.