Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by _frank_,
4. Jun 2006
hab noch einen Fehler gefunden (getenumvalue gibt bit-position zurück und nicht dessen int-wert):
function GetSetValue(setInfo:pTypeInfo;valueStr:string):Integer;
var ti:pTypeInfo;
td:pTypedata;
s,s2:string;
p,v:integer;
begin
result:=0;
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by _frank_,
4. Jun 2006
hallo nochmal,
mir ist der Fehler nach 1h suchen (kurz nach dem Posting) schlagartig bewusst geworden...
setOrdProp(button1.font,pi,val);
muss es heißen, wen es interessiert...
Gruß Frank
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by _frank_,
4. Jun 2006
Hallo,
ich versuche einen set-typ anhand eines strings zu setzen...hier mal ein bisschen code:
function GetSetValue(setInfo:pTypeInfo;valueStr:string):Integer;
var ti:pTypeInfo;
td:pTypedata;
s:string;
p:integer;
begin