Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another easy question: How do I reference my Bizobj prop
Message
From
07/05/1998 11:39:36
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00097688
Message ID:
00097713
Views:
17
>I've created a business object that has a number of properties. I need to display these properties on the form I've dragged this business object onto. How do I reference the properties? If I manually created the business object (ie oStats = CREATEOBJECT("Stats") I could just do a THIS.oStats.Property, but since I didn't, I'm not I'm not sure of the correct way of referencing it. I noticed the cParentBizObj property, but that looks like it's only used for referencing the parent object from a child.

If you dropped the 'Stats' object onto the form, you should be able to reference it's properties with ThisForm.Stats1.MyProperty. You can also set your properties to be the ControlSource of a textbox if you need to display them.
Previous
Reply
Map
View

Click here to load this message in the networking platform