Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slider must be clicked to be visible
Message
 
To
07/02/2002 16:29:13
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00617017
Message ID:
00617145
Views:
22
>I'm using either the MS Slider 5.0 or 6.0 control in a VFP form (which is inside a FormSet).
>
>At first, this particular form is invisible.
>
>When I call the form's show() method, it appears but not the slider controls on it. If I click over the part of the form where a slider is supposed to be, it appears...

I also sometimes do have this if I have ActiveX-c'in a container that toggles from nonvis to visible. In theese cases I have to issue
This.container.Visible        = .T.
This.Container.ActiveX.Visble = .T.
Especially if the ActiveX is already in a visible-State but the container
around it (in this case the form) is not.


Sometimes the ActiveX itself is a container having objects in theese cases I do have to issue
This.container.ActiveX.Object.Visible = .T.
Sometimes it helps to explicitly toggle the state of the control doing something stupid like
This.Container.ActiveX.Visble = .F.
This.Container.ActiveX.Visble = .T.
Hiding needs to be the other way round i.e. first the ActiveX then the container.
This.Container.ActiveX.Visble = .F.
This.container.Visible        = .F.
Hope this helps.
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform