Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More than one tab cycle
Message
De
04/08/2006 17:49:39
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
04/08/2006 15:51: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:
01143108
Vues:
13
This message has been marked as a message which has helped to the initial question of the thread.
> ...
>I want to some generic solution, which will work in VFP 9 and up. Unfortunately the When event does not allow to call the SetFocus method of another object. Also I did not find a way to address an object by its TabIndex. This would allow me to call the next or previous object in the tab sequence.

How about GotFocus() instead of When()? I am not sure if this one will allow a SetFocus(), but you can try.

I guess the idea is for When() to execute before an object obtains the focus ("Am I allowed to receive the focus?"), and GotFocus(), after it receives the focus.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform