Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Protected PEMs - What's the difference?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Protected PEMs - What's the difference?
Miscellaneous
Thread ID:
00473076
Message ID:
00473076
Views:
50
Hi All,
I was just having fun with some Treeview and Listview subclasses (yes, fun can be had if you want) and I changed some methods to protected methods. They are called internally in a certain order (bascially Hook methods) and I want them to stay in that order.

The problem is that as soon as I made them protected, I can't add code at the instance level anymore. However, the protected methods property1_assign, property2_assign, ..., THIS_Access are all accessible to add instance level code. I thought this may be a problem with ActiveX control subclasses but it seems to be the same way with other VFP baseclasses (tested with Label).

Can someone tell me what the difference is between these two things?
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Reply
Map
View

Click here to load this message in the networking platform