Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No Parameter Statement passing Form Array Values?
Message
From
21/09/1999 23:02:44
Randy Hooper
Ranco Business Software
Tampa, Florida, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00267425
Message ID:
00267430
Views:
20
>I have a form with a 5-element array in it. I would like to pass this to a modal child form and use the elements in the array to resize the child form.
>
>So in the click event of the parent form's button, I have:
>dimension arFormSpec[5]
> arFormSpec = ''
> arFormSpec[1] = 200 && Height
> arFormSpec[2] = 260 && Width
> arFormSpec[3] = 290 && Left
> arFormSpec[4] = 70 && Top
> arFormSpec[5] = ThisForm.txtPick.Value
> do form UserChild with arFormSpec
>
>And then I made a form property on the child modal form called
> arFormStuff[5]
>
>And in the init method of the form I have
> ThisForm.Height = arFormSpec[1]
>
>But when I run the parent form I get an error - NO PARAMETER STATEMENT IS FOUND
>
>What did I miss?

Is your parameter statment on the very first line in your init. I get that message if I don't.

example lparameter arg1,arg2
Foxpro is a sweet puppy

'cept it barks every now and then =)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform