Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to activate a system menu PAge setup from a form?
Message
De
13/08/1998 10:30:58
 
 
À
13/08/1998 09:53:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00126423
Message ID:
00126511
Vues:
20
>I wrote in PRG
>
>do form form1
>read events
>
>in form unload event wrote CLEAR EVENTS,
>and set form WINDOW TYPE 1-MODE LESS
>
>but when i run PRG, form works properly but when I CLose Form,
>in File menu all pads are disabled. But I want PAGE SETUP enabled.
>
>
>Is it not possible to do this without a PRG file, ie only one form no PRG .
>--satya

You generally always have a PRG to start your ap and issue read events.

What you want to do is not have CLEAR EVENTS in the unload of the form. CLEAR EVENTS is what you issue to exit your application. The pointer will sit on the read events line until a form or program issues CLEAR EVENT, then you program will continus.

So, what you want to do it make a File -> Exit pad... that will contain CLEAR EVENTS...

So, your ap is 'reading events' until File->Exit is called.

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform