Forum > LCL
Session Properties - Trims white space?
(1/1)
Tony Stone:
I am using the SessionProperties with a TXMLPropStorage component on my main form. This mostly works great however I have recently run into an issue where I want to save the text of a TEdit control. The TEdit.Text is saved if it is anything other than white space. I have a situation where my user has a single space which needs to be stored but when I examine the XML file after the program exits the single space is ignored and the xml file is showing the value to be "".
Can I override this somewhere? I have a feeling that the SessionProperties when being written are trimming white space which I am not so sure is really desireable? I am poking through the code to try and find where this happens.
Navigation
[0] Message Index