Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Main SDI form
Message
 
À
11/08/1997 20:30:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00044120
Message ID:
00044263
Vues:
27
Farouk,

let's get your answer first. You need to put screen=OFF in teh config.fp file or _screen.visible = .F. in your program code.

Now you do have a couple of things in your code that are unnecessary.


3. INIT method
SET DEFAULT to curdir() && this line is redundant CURDIR() returns the current directory so why set default to waht is already the && default
SET sysmenu TO && you don't need this line as the MPR will replace the system menu
DO mymenu.mpr

ACTIVATE method && activate of what, is this the top level form?
READ EVENTS && this woudl be better placed in the prg above right after the DO mymenu.mpr

DESTROY method
SET SYSMENU TO DEFA && this line would be better in the prg above right after the READ EVENTS
CLEAR EVENTS
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform