Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Decorator pattern question
Message
From
18/03/1999 18:24:11
Rex Mahel
Realm Software, Llc
Ohio, United States
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00199184
Message ID:
00199529
Views:
16
Thanks guys, but this is not a decorator implementation. Check out the design patterns articles at WWW.STEVENBLACK.COM

Thanks

Rex

>>oDecorator = CREATEOBJECT('MyDecorator', THIS)
>>oDecorator.Decorate()
>
>>oDecorator2 = CREATEOBJECT('MyDecorator2', THIS)
>>oDecorator.Decorate()
>
>FWIW Erik our heads were in the same fuzzy place <s> except you did a better job of explaining it. This is how I do it, regardless of how many Decorators come into play I call decorate() in the same way.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform