Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return values and other standards
Message
From
05/11/1998 13:14:21
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00154804
Message ID:
00154924
Views:
18
Hi Mark ----

>
>So, does how will your UI get a value of an object property?
>

Well, usually just lcCharVal=Obj.CharProperty. Since we have Access and Assign now and since I have been convinced they are proper by some OOP standards (in a thread here not long ago) and since Access methods can control what is passed back to the UI.....no reason not to.

The trick here, of course, is to have Alert behavior at the superclass level for non-visual objects and *plan* for static coupling with those constructs within the application at the instance level.

So....in my app, if I have a business or functional object that is called, I *know* that it will have the Alerts collection and other supporting features just as I know that it'll have Init, Destroy, etc...

Again, this relates to a larger pattern concept I have been working on for a bit and have almost finished writing a paper on. Stay tuned :-)
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform