Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Declare some methods of ArrayCtrl as protected
Declare some methods of ArrayCtrl as protected [message #46636] |
Fri, 17 June 2016 15:06 |
Novo
Messages: 1361 Registered: December 2006
|
Ultimate Contributor |
|
|
Hi Mirek,
Could you please change visibility of methods GetCellRect and GetCellRectM to protected? These methods are useful for development of new controls.
IMHO, the only reason to declare something as private is when it can invalidate state of an object without proper use.
TIA
Regards,
Novo
|
|
|
|
|
Re: Declare some methods of ArrayCtrl as protected [message #47507 is a reply to message #46767] |
Tue, 24 January 2017 15:56 |
Novo
Messages: 1361 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Sun, 31 July 2016 07:48
Anyway, in this case, I made them public.
It looks like they are private again.
I do see GetScreenCellRect and GetScreenCellRectM, which are public and are based on GetCellRect and GetCellRectM.
Could you please make GetCellRect and GetCellRectM public/protected again? They are more generic than GetScreenCellRect and GetScreenCellRectM.
TIA
Regards,
Novo
|
|
|
|
|
Goto Forum:
Current Time: Tue Jun 04 00:56:49 CEST 2024
Total time taken to generate the page: 0.03232 seconds
|