Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
First control on the page doesn't want to take focus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01525103
Message ID:
01525142
Vues:
49
>>>>Is combo visible?
>>>>If so, what happens if you make it invisible?
>>>>
>>>>BTW if the textbox is over the combo, and textbox is transparent, then Combo will have focus :-)
>>>>
>>>>Try this, just start typing :-)
>>>
>>>Textbox is on top of the combo (combo is a bit down below). I made combo invisible and yes, the textbox does have focus now. I'll try adding setting combo.visible to true after focus.
>>
>>Did this behavior change if you made combo visible and Textbox opaque?
>
>Textbox is already opaque. Anyway, I was updating my reply:
>
>UPDATE. Don't know why, but having combo invisible in design-time and setting it visible in Page.Activate right after textbox.SetFocus solved the problem. Thanks a lot, I was going in circles with this little problem.
>
>I leave it this way - it's working!
>
>I'm also thinking that could it be that they were too close to each other?

Have no idea,
Maybe if you select Combo Box and "Format->Send to Back" will be also a solution, but I'm not sure :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform