Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Protected PEMs - What's the difference?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Protected PEMs - What's the difference?
Divers
Thread ID:
00473076
Message ID:
00473076
Vues:
49
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
Répondre
Fil
Voir

Click here to load this message in the networking platform