Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wait Window doesn't display in window
Message
From
09/07/2002 10:10:51
 
 
To
09/07/2002 10:05:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00676553
Message ID:
00676614
Views:
11
Easier to define a form class that is in top level form and show(1,'Message')

Regards
Geoff Scott

>You're right. Setting showwindow= 1 moves the wait window.
>
>Calling it from a form where showwindow =2 works so, the only way I can think of solving this would be to do something along the folowing lines:
>
>1. Define a method in the top level form called waitwindow that takes you message as a parameter.
>2. From the child form somehow reference the top level and call this method.
>
>Mace
>
>>No not quite. I have a form (Settings) defined as 'In Top level Form' which is in (Main) defined as 'Top Level Form' and not 'In Screen'
>>
>>I am issuing WAIT WINDOW from 'Settings' form. It works fine in another app I have which uses the same classes. The only difference is I can minimise this one down to the system tray.
>>
>>Regards
>>Geoff Scott
>>
>>
>>>This is weird. It works for me.
>>>
>>>Let me get this right.
>>>
>>>You have a top level form. (Desktop = .F.) and you issue the wait window clause from the top level form?
>>>
>>>
>>>>Yup, no luck.
>>>>
>>>>>Hi,
>>>>>
>>>>>Have you tried using the AT nRow, nColumn Clause?
>>>>>
>>>>>Mace
>>>>>
>>>>>>Hi George
>>>>>>
>>>>>>Thanks
>>>>>>
>>>>>>No that doesn't work either, in fact setting the Desktop=.t. takes my form out of its top level form. my top level form has Desktop=.t.
>>>>>>
>>>>>>Regards
>>>>>>Geoff Scott
>>>>>>
>>>>>>>>Hi
>>>>>>>>
>>>>>>>>I am issuing a WAIT WINDOW 'My message' which doesn't display in my window.
>>>>>>>>
>>>>>>>>I have the main VFP screen/window turned off.
>>>>>>>>
>>>>>>>>How do I get my WAIT WINDOW to display in my form which is in my top level form???
>>>>>>>>
>>>>>>>>Regards
>>>>>>>>Geoff Scott
>>>>>>>
>>>>>>>Geoff,
>>>>>>>
>>>>>>>I'll bet you've got the form's Desktop property set to .T.. This property is ignored with a top-level form (ShowWindow = 2). Set the Desktop property to .F. and your wait window will appear properly.
>>>>>>>
>>>>>>>I wrote an FAQ on this that gives more details.
May all your weeds be wildflowers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform