Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Focus problem
Message
De
29/06/1999 08:29:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00234800
Message ID:
00235154
Vues:
21
This sounds really useful... Especially in my own pageframe control. Is there a way to make the line generic? I mean, search the pageframe to find the control with the lowest tab stop and move the focus to that?

>Hi Mark,
>
>>> I put a pageframe on my form and now when my form appears a focus sets on the first page. I want that focus sets on the first control on my page (text box). So, how can I do that? Do I need to put some code into áctivate method of my form or I can do it in design time?
>>>
>>> Thanks in advance
>>
>>That's what I would do. This.PageFrameName.Page1.txtBoxName.SetFocus()
>
> Ok, I did this in Form.Init method and PageFrame.Click.
> Works fine.
>
>
> Thank you.
--Todd Sherman
-Wake Up! Smell the Coffee!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform