Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal screen not acting modal
Message
From
04/11/1998 14:44:00
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00154479
Message ID:
00154485
Views:
15
Rob ---

Maybe a thinking shift is required here. By definition, a top-level form is modeless and acts as a parent to child forms. Maybe what you want to do is leave your WindowType=Modal, set Desktop back to .F. (this is not a desktop form, it's a child of ORDR), and reset ShowWindow to default. Then look at changing the AlwaysOnTop property to true.



>I'm calling screen MANSHI from the Click method of a button on screen ORDR. I want the user to interact with MANSHI and close it before the code in the Click method continues. I have set the following on MANSHI:
>
>WindowType = 1-Modal screen
>ShowWindow = 1-As Top Level Form
>Desktop = .T.
>
>Regardless, the Click method continues execution and wreaks havoc. There are two other screens sitting in the background (besides ORDR) as top level forms that have been hidden.
>
>Any ideas why this is happening? This is making me bonkers!
>
> TIA,
>Rob
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform