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++ Library : Other (not classified elsewhere) » StaticText : Add missing GetData/SetData overloads
Re: [FEATURE + patch] StaticText : Add missing GetData/SetData overloads [message #49718 is a reply to message #49696] Fri, 13 April 2018 10:46 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14266
Registered: November 2005
Ultimate Member
OK, I guess I cannot resist this any more...

The reason why I have resisted is that static texts are not part of dialog "value". Default implementation of Ctrl::Serialize is using GetData/SetData and it is used by TopWindow cancel mechanism. So in turn, adding GetData / SetData to Label can lead to some unexpected behaviour. To that end, I have also added override of Serialize, Jsonize and Xmlize. Please check...

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: RegExp: newlines in replacement string
Next Topic: draganddrop does not work
Goto Forum:
  


Current Time: Fri Jul 18 03:15:28 CEST 2025

Total time taken to generate the page: 0.02837 seconds