General information
Category:
Forms & Form designer
>Watch out! Remember the scope of variables! If you are using vars everywhere then call them public. It would be better and more OOPs if you made Form properties in your base class rather then declaring vars.
Ya, I already said it about the scope. And of course, OOP... But the question was about a variable in a header file.
>I use header files only for constants. I would want better control over where vars are used.
Me too.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only