Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLEControl npt visible til it gets focus?
Message
From
17/12/2004 09:29:12
 
 
To
16/12/2004 23:39:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
00969929
Message ID:
00970024
Views:
16
Hi James,

how are you adding the controls to the form? Programmatically or dropping them on the form at design time? If adding programmatically you may need to set the visible property to .T. (but then again setting focus to them wouldn't work unless they were visible), if dropping them on the form at design time, maybe as a work around you can set focus to them first so they become visible and then set focus to the control you actually want to have focus.

>I have a OLEControl which seems to only be visible once it gets focus.
>
>That is, it's visible if it's first in tab order on the form; or if not, it only becomes visible when I tab to it.
>
>I'm actually having this behavior with two different OLEControls on different forms. Clearly, there's something I don't understand here.
>
>Help!
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform