Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modeless Form won't show!
Message
From
12/12/1999 21:55:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Modeless Form won't show!
Miscellaneous
Thread ID:
00302557
Message ID:
00302557
Views:
61
I have an application which uses a single, top level form. From time to time other modal forms are called for decisions etc. These are set as 'in top level form'. One form is modeless, simply a 'Please Wait' message which is to sit on top while a procedure is running (usually a few seconds). I call it with

do form AC_WAIT name AC_WAIT linked

and release AC_WAIT to remove the form. It contains no code.

The problem is that AC_WAIT will display perfectly when called from a routine, if no other modal forms are called first. If a modal form is called first then it simply will not show - even though the modal form has been closed and released.

Coverage analyser shows that the deactivate code runs, then the modal form, then the code lines run, down to the 'do AC_WAIT form', and then when the modeless window is called, the activate code for the main form is run! Then the code continues with the AC_WAIT presumably sitting behind, even though Always on top is true.

Can anyone enlighten me concerning what is happening?

Sorry for the length and thanks in advance.

David O'Brien
Next
Reply
Map
View

Click here to load this message in the networking platform