Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OleCalendar positioning
Message
From
08/09/2011 07:55:58
 
 
To
08/09/2011 07:16:56
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01522979
Message ID:
01522990
Views:
38
>>I have an oleCalendar control on a form which I wish to reposition at run-time. I have tried setting the Top and Left values accordingly and also tried the Move method using appropriate parameters, but the control remains firmly positioned where I place it at development time. Can someone tell me what I am over-looking? (Not that it should make any difference, but the calendar is not visible until the user double clicks on date fields on the form. The calendar then becomes visible,but will not move away from the position I set at Development time).
>
>You could host the calendar in a little form, sized to fit just that control and have no borders etc, and move that form where you want it. Or a container, that would be simpler.

Before I posted my query I tried putting the oleCalendar in a container object and moving that; the container moved but for some reason the contained calendar control did not! Hence my post. On reading your post I thought that it had to be the case that it would move, so tried it again - and it worked. I can only assume that I did not do it correctly the first time. So, mystery solved. Thanks for the arm-twisiting :-)

Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform