I am trying to set the focus on a button that sits on page 1 of my tab control. It looks like I'm successful at setting the focus because I see the highlight on the button, but when I push the space-bar, I get the sub menu for the main form; the button does not press down. I notice that when I click on the tab control, the highlighted button takes on an "added highlight". It looks like a dotted line over the original highlight. If I press the space-bar after this additional highlight appears, the button presses properly. Here is the code I'm using now to set the focus to the button on the tab control...
Me!tabAllTabs.P ages(0).Control s!cmdAddNote.Se tFocus
How do I get that button to the point that I only need to hit the space-bar to press it, without clicking on the tab control?
... and what is this additional state called? I thought that once you set the focus on a button, you needed only press space or enter to engage it.
Thanks,
Adam
Me!tabAllTabs.P ages(0).Control s!cmdAddNote.Se tFocus
How do I get that button to the point that I only need to hit the space-bar to press it, without clicking on the tab control?
... and what is this additional state called? I thought that once you set the focus on a button, you needed only press space or enter to engage it.
Thanks,
Adam
Comment