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 empty cells pasted from Excel
Re: GridCtrl empty cells pasted from Excel [message #17700 is a reply to message #17699] Tue, 26 August 2008 16:24 Go to previous message
koldo is currently offline  koldo
Messages: 3443
Registered: August 2008
Senior Veteran
Well, surfing through the upp source I have found and test the first question.

- Is there any way to convert safely a Value to a String?.
Yes, it is ToString(), so the function Format is now:

struct ConvBool : Convert
{
Value Format(const Value &q) const
{
if (!q.IsNull()) {
return (q.ToString() == "1") ? "Yes" : "No";
else
return Null;
}
};


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: adding row from another window and updating GUI
Next Topic: Unicode character paste in GridCtrl
Goto Forum:
  


Current Time: Sun Aug 24 09:47:02 CEST 2025

Total time taken to generate the page: 0.05541 seconds