Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No parameter statement found (1238)
Message
 
 
À
21/02/2000 07:55:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00334616
Message ID:
00334782
Vues:
26

>"do form formname with nformtop, nformleft, cformcaption linked"

In the Init of you form, you need the following lparameter or parameter statement:
lparameter nformtop,nformleft,cformcaption

* validate parameter being passed is of correct type
if !(vartype(nformtop) $ "INB) then
   * assign default value to Form.Top
else
   * process passed top coordinate
endif

if !(vartype(nformleft) $ "INB) then
   * assign default value to Form.Left
else
   * process passed left coordinate
endif

if vartype(cformcaption) # "C" then
   * assign default caption
else
   * process passed caption
endif
One other observation. You specify linked but the variable the form is linked to isn't in the command line (or it didn't show up in the post.
Ex.
do form formname name somevariable linked with nformtop,nformleft,cformcaption
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform