General information
Category:
Forms & Form designer
>>>>Is it possible to have multiple return values coming from a form. If so how?
>>>
>>>Several strategies.
>>>
>>>1. Pass the calling form/object as a parameter and have the called form manipulate appropriate properties on the calling form.
>>>
>>>2. Instantiate the form with CREATEOBJECT syntax, have the calling program/form reference needed properties on the called form to assign values, then close the form.
>>>
>>>3. Set public variables (ugh).
>>>
>>>4. In VFP 7, you can return an array from a form/function, but there are some restrictions.
>>>
>>
>>Or (5) instance and return a parameter object, which can be as complex as you'd care to make it!
>
>Or (6) Return a delimited string and parse afterwards
>
Used to be, and still am, a big fan of delimited strings, but with parameter passing in an OO world, I think it's less clear than manipulating properties or using an object. But, maybe the self-describing format of XML is the way to go!
Jay
>Bob
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