Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's different between Ctrl-tab and click to a page
Message
De
21/08/2007 05:58:54
 
 
À
21/08/2007 05:47:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01249290
Message ID:
01249300
Vues:
24
>>Hi,
>>
>>I have a form with a pageframe and 3 pages, in page1's ACTIVATE event I have
>>
>>This.edtBox1.SetFocus()
>>
>>so that each time the page is brought on top, the EDITBOX edtbox1 will be selected automatically.
>>
>>I get what I want when
>>1) The form is intially launched.
>>2) If I click to page1 from another page.
>>
>>But if I press Ctrl+Tab to switch to page1 from another page, the edtBox1 won't get focus!
>>when I use the keyboard to switch to that page why is it different from mouse click or am I doing something wrongly?
>
>Have you tried:
>
>In the GotFocus() event of Page 1:
>
>This.edtBox1.SetFocus()
>
>so that every time page 1 gets the focus, either from clicking its tab, or hot-keying to it, it passes on the focus to the editbox.

A page does not have gotfocus, for whatever reason....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform