theo escreveu:
Hello

Is it possible to store an empty string property?

The property is getting a default value a creation time (GetUserDir),
If the user enters an empty string to the obj. insp. it is shown as empty but still has the value it got at creation time when run.

I've tried things like:
property Directory: string read FDirectory write SetDirectory stored True nodefault;

but it doesn't work. Empty String is never stored it seems.

Am I missing sth.?

I've got same problem with VTV: http://thread.gmane.org/gmane.comp.ide.lazarus.general/38378

See TCustomVirtualStringTree.Create in VitualTrees at lazarus-ccr for a solution

Luiz

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to