Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP5 and _CUROBJ
Message
De
25/11/1998 23:00:31
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00161344
Message ID:
00161698
Vues:
31
>>I know aboutthe SETFOCUS Method. As mentioned above, I do not know WHAT "Control" is.
>>
>>In the FPW2.6 code I did not care as I used _CUROBJ = OBJNUM(currentfield)+1
>>This set the focus to the NEXT tab order field without the need of knowing what its name or variable was.
>>
>>THIS IS WHAT I NEED TO DO!!
>>
>>Bernard
>
>You can return a numeric value from the VALID event of a control to specify which control gets the focus. Quoting from the VFP5 help file:
>· If a positive value is returned, the value specifies the number of controls the focus advances. For example, if the Valid event returns 1, the next control gets the focus.
>· If a negative value is returned, the value specifies the number of controls the focus moves back. For example, if the Valid event returns –1, the previous control gets the focus.
>
>HTH,
>Rick


Might work Rick. Will certainly give it a GO.

Thanks

Bernard
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform