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: 3005
Registered: August 2008
Ultimate Member
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: Mon Oct 21 22:55:53 CEST 2019

Total time taken to generate the page: 0.01014 seconds