Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On Modal and Modeless forms
Message
From
18/11/1998 17:16:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
On Modal and Modeless forms
Miscellaneous
Thread ID:
00159030
Message ID:
00159030
Views:
44
Hi All ---

I think it time to revisit the definition of modal and modeless forms. A modal form is defined as...

"A window or form is modal if it retains the focus until you explicitly close it. Dialog boxes and messages are usually modal. For example, in a modal dialog box, you can’t access another window until you choose OK in the dialog box."

This means you don't launch other forms from it or do *anything* external to it until it is closed (with the possible exception of WAIT WINDOWs and MESSAGEBOX).

A modeless form is defined as:

"A window or form is modeless if it doesn’t require closing before switching to another form or window. For example, the Command window and toolbars are modeless."

When analyzing the requirements for a system, bear in mind that VFP "expects" these standards to be met and erratic or unpredicted behavior may occur otherwise.
------------------------------------------------
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
Next
Reply
Map
View

Click here to load this message in the networking platform