Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On Modal and Modeless forms
Message
De
18/11/1998 17:16:32
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
On Modal and Modeless forms
Divers
Thread ID:
00159030
Message ID:
00159030
Vues:
45
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform