Changeset 68 for trunk/Forms/UFormProperty.pas
- Timestamp:
- Dec 10, 2021, 11:15:41 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormProperty.pas
r56 r68 64 64 begin 65 65 if ComboBoxField.ItemIndex <> -1 then begin 66 Field := TContact sFile(Core.DataFile).Fields[ComboBoxField.ItemIndex];66 Field := TContactField(ComboBoxField.Items.Objects[ComboBoxField.ItemIndex]); 67 67 if Assigned(Field) then begin 68 68 EditName.Text := Field.SysName; … … 132 132 GroupsArray); 133 133 if Assigned(Field) then 134 ComboBoxField.ItemIndex := TContactsFile(Core.DataFile).Fields.IndexOf(Field);134 ComboBoxField.ItemIndex := ComboBoxField.Items.IndexOfObject(Field); 135 135 end; 136 136
Note:
See TracChangeset
for help on using the changeset viewer.