Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG ? - X not enabled
Message
 
 
À
16/02/2005 23:13:29
Suhas Hegde
Dental Surgeon
Sirsi, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Divers
Thread ID:
00987428
Message ID:
00987906
Vues:
46
>>Do you have a READ EVENTS?
>
>Hi thanx for replying.
>
>My typo
>
>The line should have read
>If i set windowtype = 0 the application just flashes and disappears.
>
>If it is 1 it is modal as good as read events (thats my understanding).

You understand correctly. However, your basic design is a bit flawed. If you want the _screen to be closable, you can not have modal forms and you have to issue a READ EVENTS command to prevent the "flash". Can you post the relevant code from your main PRG file? What we would be interested in is where you are starting your formset. It should be something like:

CLEAR
SET TALK OFF
SET EXLCUSIVE OFF
SET DELETED ON
*!* other setup code here
ON ERROR DoSomethingHere
ON SHUTDOWN QUIT
loFormSet = createobject('formsetclass', 'formsetclass.fxp')
loFormSet.Show()
READ EVENTS && would go here
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform