I have a form that I add a slider to through form designer (VFP 9). For
some reason the activex control will not become visible until I click on it.
If I put the activex control on a blank form I don't have any problems with
it. I've tried hardcoding the activex object in the load of the event,
creating it with the drag and drop feature in form designer. The property
visible is set to .t. and it is the topmost control of the form. Once the
control is clicked on it stays visible and works properly but I am stumped
on this one. Thanks for any help

Re: dumb question by David

David
Mon May 09 19:53:16 CDT 2005

Graham,

I can't repro this..

create form frmtestslider
select ActiveX item on toolbar
on the form, click
from the next dialog select the Microsoft SLider Control 6.0 SP4
hit the ! button on the standard toolbar.

Are you running in a themed environment? I run under XP with the theme set
to Windows Classic

You might try altering the Form.Themes property and/or the AllowOutput
properties.

--
df - Microsoft MVP FoxPro http://www.geocities.com/df_foxpro

"Graham" <karaoke@primus.ca> wrote in message
news:546fa$427fef7d$cf705bf4$28995@PRIMUS.CA...
>I have a form that I add a slider to through form designer (VFP 9). For
>some reason the activex control will not become visible until I click on
>it. If I put the activex control on a blank form I don't have any problems
>with it. I've tried hardcoding the activex object in the load of the
>event, creating it with the drag and drop feature in form designer. The
>property visible is set to .t. and it is the topmost control of the form.
>Once the control is clicked on it stays visible and works properly but I am
>stumped on this one. Thanks for any help
>



Re: dumb question by Altman

Altman
Thu May 12 15:53:50 CDT 2005

I had this happen with the MS date picker activeX control before. Only
happened on one form and I use it all over the place, and I could never
figure it out. As a work-around I just called myDate.Click in the activate
event of the form.

"Graham" <karaoke@primus.ca> wrote in message
news:546fa$427fef7d$cf705bf4$28995@PRIMUS.CA...
>I have a form that I add a slider to through form designer (VFP 9). For
>some reason the activex control will not become visible until I click on
>it. If I put the activex control on a blank form I don't have any problems
>with it. I've tried hardcoding the activex object in the load of the
>event, creating it with the drag and drop feature in form designer. The
>property visible is set to .t. and it is the topmost control of the form.
>Once the control is clicked on it stays visible and works properly but I am
>stumped on this one. Thanks for any help
>



Re: dumb question by Graham

Graham
Wed May 18 20:10:08 CDT 2005

Thanks as it ended up I lost the form any ways when my internet connection
crashed while I was working on it. So time to rethink the whole think
(which probably isn't a bad idea)l.

????????? - How come I always give everyone the same advice. Backup backup
and then backup your backups and when it comes to my machi......
:)


"Altman" <NotGiven@SickOfSpam.com> wrote in message
news:uz2v0SzVFHA.2256@TK2MSFTNGP14.phx.gbl...
>I had this happen with the MS date picker activeX control before. Only
>happened on one form and I use it all over the place, and I could never
>figure it out. As a work-around I just called myDate.Click in the activate
>event of the form.
>
> "Graham" <karaoke@primus.ca> wrote in message
> news:546fa$427fef7d$cf705bf4$28995@PRIMUS.CA...
>>I have a form that I add a slider to through form designer (VFP 9). For
>>some reason the activex control will not become visible until I click on
>>it. If I put the activex control on a blank form I don't have any problems
>>with it. I've tried hardcoding the activex object in the load of the
>>event, creating it with the drag and drop feature in form designer. The
>>property visible is set to .t. and it is the topmost control of the form.
>>Once the control is clicked on it stays visible and works properly but I
>>am stumped on this one. Thanks for any help
>>
>
>