Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OleCalendar positioning
Message
De
08/09/2011 07:55:58
 
 
À
08/09/2011 07:16:56
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01522979
Message ID:
01522990
Vues:
39
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform