Accessing inherited variables

  • Thread starter Thread starter MrJim
  • Start date Start date
M

MrJim

How should variables be declared so that those in the base form can be
changed in a form 'inherited' from it?
 
Jim,

Normally you have to do nothing extra.

Moreover, you can not get rid of them.

Cor
 
Declare them public or protected. Public will be available outside the
class while protected will be available only to derived classes.

Mike.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top