Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disappearing Slider Control MScom
Message
From
25/04/2005 21:42:32
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
25/04/2005 16:21:32
Graham Trott
Hamilton Pc Repair
Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01008221
Message ID:
01008304
Views:
15
>I've got a form with a comctl slider 1 control in it. I can get everything working on it but when I first start the form the slider is always invisible. The visible property is set to .t. As soon as the slider is clicked on it appears and stays for the duration of the program but start it again and no slider. This control was dropped in using the form desiger. I have searched and cannot find the answer, although I am sure it's something small that I have forgotten.

I've had this trouble three years ago, and frankly, can't remember how I solved it. I think I was setting it to visible=.t. in parent container's init, or was it the trick of setting form.lockscreen=.t., then resizing the slider by one pixel up, resizing down, lockscreen=.f.; maybe it was .slider.setfocus(), or setting its .value to 1 - one of these has worked in the end. It was back then in VFP7, and I don't have the source anymore (maybe somewhere on a CD, but we moved... who knows where it is).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform