Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Datetime - olecalendar
Message
De
23/05/2008 13:15:35
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
23/05/2008 06:25:41
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01318989
Message ID:
01319248
Vues:
13
>Thanks - I got around it by making it the first item on the form, not ideal but it works.

Which means it receives focus... maybe just the .setfocus() from the form's .show() may have worked. I agree, relying on instantiation order is not healthy.

>>>Can anyone think of a reason why the olecalendar control on my form doesnt display when the form initially loads? If I click on the area of the form where the control is it pops up and is fine, but not displaying at the start is a problem.
>>
>>Ah, one of those quirky ones - I have no clue, or at least no sure-fire way... you can try to do a few things in code - in form's .init(), .show() or even .activate() - whatever gets called just once when the form has become visible:
>>
>>olecalendar.visible=.t.
>>
>>olecalendar.zorder(0)
>>
>>olecalendar.setfocus()
>>
>>Even raising an event may work... try them one by one. Good luck.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform