Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value from a class form
Message
 
To
13/11/2001 13:01:25
Dave Macfarlane
Condo Navigator Ltd.
Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00579966
Message ID:
00581090
Views:
31
Yes, it would be. I'm not sure what you're doing with all of the parameters, but if they eventually get mapped to properties in the other object even though it's more code it might be better in terms or readability and maintainability to do something like:
lo_frmcalendar = newobject('frmCalendar','nav_custom_date.vcx')

WITH loForm
   .dDate = l_dDate
   .Caption =  'Policy Effective Date'
   etc.
   .Show()
ENDWITH
Mike Feltman

F1 Technologies
Previous
Reply
Map
View

Click here to load this message in the networking platform