>If I want to move control to a specific command button among
>the command group in which the button is,
>What command should I use?
>
>For example,
>
>In case that a screen is like this below,
>
>-----------------------------------------
> label1 textbox1
> label2 textbox2
> label3 textbox3
>
>-----------------------------------------
> command1 command2 command3 command4 <-command group1
>-----------------------------------------
>
>after writing textbox1,textbox2,textbox3,
>I need to move the current control to command3 button
>If I fill up the blank of textbox3 and press Enter.
>And then skip command4 button.
>And then again, Current Control should be on the textbox1.
>command1 and the other 2 buttons are to be accessed
>only by using arrow buttons or mouse pointer.
>
>
>Sorry for my Bad English Expression.
>Cause I'm not so good at English...
>
>Any help would be great.
>thanks,
>Over and Out.
Basically, you use NODEFAULT and Thisform.controlname.SetFocus() to redirect focus to appropriate control.
Edward Pikman
Independent Consultant