-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make some members of TVirtualNode private #832
Comments
+1 |
Isn't this a duplicate of #823 ? |
Yes, its a duplicate. Forgot about that. |
If realy considered i will change it not to be private only as protected. |
I can! I get the emails if that stuff doesn't work as expected. Or if they simply did not recognize that |
I found myself using |
Now, with the units split up, we can't use friend access of the control classes on private members of |
Well, to me, as a general rule, every field should be private and only accessed via properties. |
I now did this for |
I will stop my work here. The members that typically cause support are now private with public readonly properties and a public setter function, which is now necessary after all the units have been split up. |
Frequently users of Virtual TreeView have problems because they use the members of TVirtualNode directly instead of the proper methods in TBaseVirtualTree. See e.g. #831
We should consider making them private, we could replace them with nice getter functions or properties, which are implmeneted similar to those in the TBaseVirtualTree. This has already been done for the Data field.
The text was updated successfully, but these errors were encountered: