Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More than one tab cycle
Message
From
03/08/2006 18:38:34
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
03/08/2006 17:15:25
Hans-Otto Lochmann
Dr. Lochmann Consulting Gmbh
Frankfurt, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01142829
Message ID:
01142856
Views:
10
>Hi All,
>
>I have a form with a couple of controls, say textboxes, which belong to several logical groups of data, say two groups. I want to have (in this example) two "tab cycles", i.e. if the user tabs through the controls of one group the focus should stay only on the controls of this group. Only by using a specific key, say a page key, the user can go from one group to the next one.
>
>Remark: There is a proposal from Tamar Granor, which she made in the mid-90, which uses the system variable _curobj to allow to do exactly what I described above. But _curobj is nowaday only "included for backward compatibility", so there should be a more contemporary way to handle this.
>
>Any ideas?

You could put grouped controls into containers, and in container's lostfocus() check for the condition (which could be a lastkey=page down). If not OK to move to next group, issue a nodefault and set focus to where you want it inside the container.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform