Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First control on the page doesn't want to take focus
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01525103
Message ID:
01525142
Views:
48
>>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform