Hello,
with the given (voodoo) Code, I get a key Exception.
But why ?
- I add a Elemente, and search for it...
- arow is an output variable...
- I add a showmessage, to cycle stop and halt the execution of Code to react...
The goal is it to add a category.
with ValueListEditor1 do
begin
// Kategorie als Trennzeile hinzufügen
Strings.Add('[Persönliche Daten]');
showmessage('VooDoo');
FindRow ('[Persönliche Daten]', arow);
if arow <> -1 then
ItemProps[ '[Persönliche Daten]'].ReadOnly := True;
// Normale Key-Value-Paare
Strings.Add('Name=Max Mustermann');
Strings.Add('Alter=30');
end;