Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No parameter statement found (1238)
Message
From
21/02/2000 09:44:57
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00334616
Message ID:
00334806
Views:
21
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..."
Previous
Reply
Map
View

Click here to load this message in the networking platform