Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding properties to bizobj AFTER dropped on form
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Adding properties to bizobj AFTER dropped on form
Miscellaneous
Thread ID:
00409564
Message ID:
00409564
Views:
56
Hi, remember me? I used to be known as "the ICK"

As you all know, I've mended my ways and now all my addviewparameter() calls make my bizobjs look for theirs in properties.

Now I'm dealing with a cFindForm and I would like to be able to take the existing SearchListObj and add properties to it as I've been doing with all my regular bizobjs (oRox.proud = .t.).

The problem is that I can't add properties to an object that is part of a form. I can add properties to the form itself, but can't touch the objects I dropped on it.

Well, I know I can use the AddProperty method and in my SearchListObj's init I could say:
   This.AddProperty("VwParameter1")
   This.AddViewParameter("vp_name", "This.VwParameter1")
Is there a visual equivalent for this code?

As usual, if you know of a more efficient way to do this, let me know. For some reason I really don't feel like going through the trouble of creating my own bizobj and replacing the grid's bizobj (I know this can be done), but if that's the way to do it, so be it.

Thanks!!!

Alex
Low-carb diet not working? Try the Low-food diet instead!
Next
Reply
Map
View

Click here to load this message in the networking platform