tvalue Questions
4
Solved
I want to convert an string to an enum type using TValue, I googled but I didn't find how to do that.
type
TEnumTest = (etFirst, etSecond);
var
D: TEnumTest;
begin
D := StrToENumTest('etFirs...
Creole asked 18/3, 2010 at 18:46
1
Solved
It seems that one, in my opinion mandatory method is missing from TValue; TValue.Equals(TValue).
So whats a fast and decent way of comparing 2 TValues, preferably without the use of TValue.ToStri...
2
Solved
Has anyone an idea, how I can make TValue using a reference to the original data? In my serialization project, I use (as suggested in XML-Serialization) a generic serializer which stores TValues in...
Mahound asked 5/5, 2010 at 9:17
1
Solved
I would like to be able to use TValue to store Data in a TList<>. Like in :
type
TXmlBuilder = class
type
TXmlAttribute = class
Name: String;
Value: TValue; // TValue comes from Rtti
end;...
Evermore asked 26/1, 2010 at 11:42
1
© 2022 - 2024 — McMap. All rights reserved.