Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AllowNew in bizobject protected...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00131016
Message ID:
00131185
Vues:
18
>Bob,
>
>I tried this in my code and I was able to make the change?
>
>You're not attempting to make the change in the parent class, right? If it is sub-classed, you should be able to add your own code and DODEFAULT() for the parent code.
>
>Just a thought,
>
>Mat


Its really wierd...

Because... we create application level classes of all of the kcontrols... so, we subclassed clistobj as alistobj... (in alistobj I have access to the method)

Then I subclassed cBizObjNoListMaintform...

I put an instance of alistobj on it. In that class I can not access the allownew method of alistobj... nor in a subclass of that form can I access it.

Very strange... seems to me since clistobj is a subclass of kBizObj from that point I would be able to access AllowNew...

And, I I said, I can access alistobj::allownew... but, in the instance of alistobj on my form class, it show the AllowNew as protected.

Very weird...

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform