Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display define windows on form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01130481
Message ID:
01130492
Vues:
10
This message has been marked as the solution to the initial question of the thread.
>Boris thanks for you reply, i run this prg "do new"
>where i will be put these codes.
>when i put in prg. i get message this can use with a method...

O, If you invoke this PRG from within a Form pass the form name as parameter:
* Within form:
Do New WITH thisform.New

** Outside form:
Do New WITH thisform.New

** Change New.Prg

LPARAMETERS lcFormName

IF VARTPE(lcFormName) == [C]
   DEFINE WINDOW ....... IN WINDOW (lcFormName)
ELSE
   DEFINE WINDOW ....... 
ENDIF
.....
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform