Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6SP5 - SetFocus to the first user control text, butt
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00790342
Message ID:
00790989
Vues:
24
Yes I have not been able to explain better. I just want to setfocus() but I want a generic routine to find out the first user usable object firstly on the form itself and if not found on the page1 of the pfg. But automated not hardcoding. I want to call something like this:
thisform.SetFocusToFirstObject()
and lo presto it should be done <g>.


>I may not have understood you right - if you have a textbox or other control just on the form then setting it's tabindex to 1 will ensure that it receives focus when the form is shown. Otherwise if the control is on the pageframe you will need something like this in the init of the form...
>
>
>THISFORM.PAGEFRAME.PAGE1.TEXTBOX.SETFOCUS()
>
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform