Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.ShowWindow value changes when created
Message
 
To
21/12/1998 14:41:52
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00169406
Message ID:
00169445
Views:
16
>>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?
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform