Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl::SetValues behaviour when seting empty Vector
GridCtrl::SetValues behaviour when seting empty Vector [message #36162] |
Tue, 08 May 2012 09:31 |
|
koldo
Messages: 3357 Registered: August 2008
|
Senior Veteran |
|
|
Hello Daniel
Now the function void GridCtrl::SetValues(const Vector< Vector<Value> >& vector) does nothing when vector is empty.
Perhaps it would be better that in that case SetValues() would Clear() the GridCtrl.
It would affect XMLize and like functions so loading an empty file would clear the GridCtrl. Now when loading an empty XML String the Grid remains unchanged. That does not seem to be the better behavior.
Best regards
IƱaki
|
|
|
Goto Forum:
Current Time: Thu Apr 25 01:57:01 CEST 2024
Total time taken to generate the page: 2.03299 seconds
|