Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MyProperty_Assign and inheritance?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00265679
Message ID:
00265876
Views:
16
>If I subclass a class with a custom property that has an assign method coded, I'm noticing in the subclass the default LPARAMETERS statement shows up. Do I need to wipe that out so it doesn't override the inherited code? Or is it alright just to leave it there? TIA!

It is an editor helper. If you open a method without code in it, it will bring in the parent lparam statement for you... but, if you don't add code to the method it doesn't get saved. You can see this by looking in the properties window and observing that the method in question is not BOLD which indicates it contains code.

If you do see a BOLD method that you don't have code in... there could be a space in there and you wouldn't get the parent class behavior... just right click on the method in Properties box and choose Reset To Default.

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform