Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More than one tab cycle
Message
De
03/08/2006 18:38:34
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
03/08/2006 17:15:25
Hans-Otto Lochmann
Dr. Lochmann Consulting Gmbh
Frankfurt, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01142829
Message ID:
01142856
Vues:
15
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform