Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying a form
Message
From
15/06/1999 04:25:58
Dave Nantais
Light speed database solutions
Ontario, Canada
 
 
To
15/06/1999 04:03:53
Dave Nantais
Light speed database solutions
Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00229872
Message ID:
00229874
Views:
17
>i am maintaining someone else's application and i have run into an unusual stumbling block : i cannot get a form to display.
>
>When i use createobject to make a form appear and then issue show the form releases from memory.
>
>When i use DO FORM and trace the firing of events in the form the event sequence goes something like
>
>LOAD , INIT , .... UNLOAD
>
>i used messageboxes to observe this behaviour.
>
>
>Regarding the forms in the app that do work properly ...
>when i trace them using SET STEP ON just before a DO FORM is issued.
>I trace through the form ... and guess what ... the form never does appear on the display.
>
>When i do not trace the "original" forms they appear fine.
>
>i have checked the visible property it is set to true.
>It seems that when the "Show" event fires .. the UNLOAD or RELEASE event fires next.
>
>any help is appreciated

i found the problem ..
all the forms that work have as their showwindow property ...
"1 - in top window form"

whereas the forms i created had a showwindow property of "0 - (in Screen)"
however 0 is the default value.

these late nights have gotta stop :)
Previous
Reply
Map
View

Click here to load this message in the networking platform