When a tag receives focus from pressing its accelerator key (set with & ), it directs focus to the next control in tab order, since the tags are not edited. You need the text box to be the next control in tab order.
To view and correct the tab order in your form, use the Order + Tab Order command in the IDE. Using TabPages or other containers adds a level of nesting to the tab order (for example, 1.1 , 1.2 instead of just 1 and 2 ), but if the label and text box are in the same container, t is too difficult to set correctly.
Justin
source share