Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
Yes. That's very precise!
>>Hi Mike
>>
>>Another possible solution is to use a parameter object.
>>
>>You create a custom object. Add all the properties you want to it. You pass it to the form. The form uses the properties of the object like it would use parameters. The form can also update the properties and pass the object back.
>
>More precisely, doesn't need to pass anything back. Since the objects are always passed by reference, the passed object will be actually a reference to the original object, so anything the form does to this reference happens to the original.
>
>I find this approach tremendously easy, because in case you need any additional parameters, simply add more properties to the object. I think this sort of usage was one of the main reasons Empty class was invented for VFP8.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only