Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing form property by reference
Message
From
10/07/1998 16:16:22
 
 
To
10/07/1998 16:05:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00116288
Message ID:
00116293
Views:
17
You don't pass properties by reference, you pass the pointer to the form:

DO FORM Foo WITH THISFORM

In your Foo form:

LPARAMETERS oForm
oForm.Prop = "Some value"

HTH

>What is the syntax for passing a form property by reference?
>
>Foo(@THISFORM.prop)
>
>gives me an error. I've tried every combo I can think of (@THISFORM..prop, THISFORM.@prop, @(THISFORM.prop), ...). I give up, please tell me the syntax!!
Previous
Reply
Map
View

Click here to load this message in the networking platform