Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 is currently offline  koldo
Messages: 3355
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
Previous Topic: ArrayCtrl: How to use WhenDropCell...
Next Topic: Bugs with GridCtrl in Ubuntu 12.04
Goto Forum:
  


Current Time: Thu Mar 28 14:35:25 CET 2024

Total time taken to generate the page: 0.01952 seconds