Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.ShowWindow value changes when created
Message
 
À
21/12/1998 16:07:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00169406
Message ID:
00169454
Vues:
32
Thanks again Ed.

>>>>I have a modal lookup form class with its .ShowWindow property=1 (In Top-Level Form). In the Init of my top level form I use CREATEOBJECT() to create the lookup form object but when I tried to .Show() it nothing happens. When I traced it in the debugger the objects .ShowWindow=0. Any ideas on what I'm doing wrong? TIA
>>>
>>>What if you move this to Topform.Activate event?
>>
>>Thanks Ed, this worked perfectly. Is the reason it wasn't working in the .Init(), because at that point the TopLevelForm doesn't actually exist yet?
>
>Yes, it's the reason.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform