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 » U++ Core » To add serialize/xmlize/jsonize functions to EditField and others
To add serialize/xmlize/jsonize functions to EditField and others [message #37807] Wed, 14 November 2012 10:07 Go to next message
koldo is currently offline  koldo
Messages: 3356
Registered: August 2008
Senior Veteran
Hello all

It would be great if EditField classes (EditString, EditDouble, ...) and other U++ widgets would have serialize/xmlize/jsonize functions as GridCtrl.

These could just store the value.


Best regards
Iñaki
Re: To add serialize/xmlize/jsonize functions to EditField and others [message #37970 is a reply to message #37807] Mon, 26 November 2012 13:23 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
koldo wrote on Wed, 14 November 2012 04:07

Hello all

It would be great if EditField classes (EditString, EditDouble, ...) and other U++ widgets would have serialize/xmlize/jsonize functions as GridCtrl.

These could just store the value.


Why not, but you need IDs for children.

Maybe we could use Ctrl::GetLayoutId() here? Maybe we should add rename/synonyme Ctrl::GetId() then...

Mirek
Re: To add serialize/xmlize/jsonize functions to EditField and others [message #37971 is a reply to message #37970] Mon, 26 November 2012 13:41 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Basic support added. Using Ids to Jsonize/Xmlize whole dialogs proved a little bit more complex than I thought...
Re: To add serialize/xmlize/jsonize functions to EditField and others [message #37973 is a reply to message #37971] Mon, 26 November 2012 13:49 Go to previous message
koldo is currently offline  koldo
Messages: 3356
Registered: August 2008
Senior Veteran
Thank you Smile

Best regards
Iñaki
Previous Topic: How to sort a vector?
Next Topic: size_t or int in 64 bits
Goto Forum:
  


Current Time: Thu Apr 18 23:26:40 CEST 2024

Total time taken to generate the page: 0.02370 seconds