property PropertyDef: TAdapterDMS_Settings_PropertyDef;
procedure Test; var i : integer; b : integer; aItem : TAdapterDMS_Settings_Item; aVars : TStringlist; aVar : Variant; aText : String; aName : String; begin aVars := TStringlist.create; try for i := 0 to DMS_Settings.PropertyDef.Count - 1 do begin aItem := DMS_Settings.PropertyDef.Itemi; if aItem <> nil then begin aText := ''; if aItem.GetVariableNames(aVars) then begin for b := 0 to aVars.Count - 1 do begin aName := aVars.Stringsb; aVar := aItem.VariableaName; aText := aText + aName + ': ' + VarToStr(aVar) + #13#10; end; end; Message_dlg(aText); end; end; finally aVars.Free; end; end;