Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No parameter statement found (1238)
Message
De
21/02/2000 09:44:57
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00334616
Message ID:
00334806
Vues:
22
Thanks Larry.

>
>>"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
"Live Well, Laugh Often, Love Much..."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform