>Bob, if your users are ALWAYS tabbing in the same loop, put a 'nodefault' in the last control's LostFocus() event, and add 'FirstControl.setfocus()'. Haven't tried it.....
>
>HTH
>Barbara
Works pretty good and will probably suit my users fine. There are still a couple of anomalies though. The 1-2-3-4-1-2-3-4-1-2- ... etc. sequence works great skipping the page tab between TextBox4 and TextBox1, however we cannot Shift-TAB back to TextBox3 from TextBox4. A little lastKey() code might fix this though. The other problem is Shift-TAB on TextBox1 which still goes to the page tab, but again some lastKey() code might fix this too. I'm saying "might" instead of "will" because I just checked lastKey() help and it says "LASTKEY( ) is updated when you move between controls", and this updating might be too late to help.
Great approach Barbara. Thanks.
Bob
>>When I am TABing through the controls on a page of a PageFrame, eventually the focus goes back to the page tab at the top. I understand that this allows the user to move to other page tabs from there with the arrow keys. In my case, I have created other hot-keys to move from page to page, and I don't want the page tab to get focus.
>>
>>I'm looking for something similar to the TabStop property that most controls have so I can set it to .f. for each tab on the pages of my PageFrame. Page doesn't seem to have such a property. PageFrame does, but it doesn't do what I'm trying to accomplish.
>>
>>Bob
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only