Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blocking TABing to a page tab
Message
From
17/05/1998 17:44:12
 
 
To
16/05/1998 16:48:02
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00099118
Message ID:
00100005
Views:
53
>>>>I've got that one covered (actually its in the pages activate event) and that solved most of my problem. My page is a search form and has only 3 or 4 TextBoxes and a grid. The grid changes tab order and repositions the highlighted row based on entry from the TextBoxes. My users work in a keyboard environment (no mouse) and if doing several lookups, will move from TextBox to TextBox using the TAB key and cycling around (finding Shift-TAB is too much of a bother). When the focus gets to the page tab, to them it seems to have dissappeared and requires hitting TAB one more time. This is the behavior that I want to get rid of.
>
>How about pageframe.lasttextbox.lostfocus doing a pageframe.firsttextbox.setfocus? This way it would cycle through the textboxes, and simply wrap back from the last one to the first. A possible drawback is that the only way to swap pages would be using hotkeys (since you got cats only - no mice).

You have come up with a solution like Barbara's and it looks like the most workable although there are still a few drawbacks (see my reply to Barbara). And yes, your're right about the hot keys, but as my users are primarily non-mouse, keyboard people, I built Ctrl-PageUp and Ctrl-PageDown into my framework quite a while ago to move from page to page in a pageframe.
Bob
Previous
Reply
Map
View

Click here to load this message in the networking platform