Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setfocus on first textbox control on page
Message
De
20/07/2005 17:33:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00944565
Message ID:
01034451
Vues:
31
>>>So far I found, that setting pageframe ActivePage to 1 solves the focus issue. However, it executes page activate and deactivate, which I'd like to avoid. Fabio's KEYBOARD suggestion produces undesired effect of empty comboboxes...
>>>
>>>I tried all other things: setting focus explicitly, playing with Form's GotFocus. Form's GotFocus works, but then somehow the first click on the different tab doesn't work, only the subsequential clicks.
>>
>>Maybe because we use tabless pageframes. We control the .ActivePage through code, and the UIEnable works fine.
>
>It's a different story with the tabless pageframe and especially if you're setting ActivePage through the code. Try to remove the first setting of the ActivePage and I'm sure you'll see the same effect as I do.

Nope, works for me even with visible tabs and using them to navigate the pages. Must be your custom UIEnable code preventing it from working, or you're moving the focus elsewhere.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform