I have to use records in Lazarus (due to TVirtualStringTree).
If I have a simple record:
type
myrec = record
name: string;
end;
Is there a way how to access the field by reference? i.e. to make a function:
getField('name', searchRecord);
or is there a way how to iterate over fieldnames?