Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal form
Message
De
24/08/2005 07:10:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
24/08/2005 06:49:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01043226
Message ID:
01043229
Vues:
11
This message has been marked as the solution to the initial question of the thread.
>i made a very simple application based on just one form. I set it as modal but when I run the exe files it flashs...and flies away.
>How come ?
>I tried to set it as top level form , aways on top etc but without success
>
>thx
>Alessio

Alessio,
Top level forms cannotr be modal (and for a single toplevel form you don't need it to be modal). However you can provide modality via read events. ie:
*main.prg
Local oForm
Do Form myForm Name oForm
oForm.Release
Release oForm
* code if any

*myForm.init
this.Show
Read events

*myForm some button click
thisform.hide()
clear events
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform