Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AllowNew in bizobject protected...
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00131016
Message ID:
00131185
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform