U++ framework
Do not panic. Ask here before giving up.

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: 3460
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: Thu Jun 11 10:53:26 GMT+2 2026

Total time taken to generate the page: 0.00650 seconds