Changeset 8 for trunk/Forms/UFormFields.pas
- Timestamp:
- Jan 23, 2015, 12:00:37 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormFields.pas
r4 r8 63 63 procedure TFormFields.FormShow(Sender: TObject); 64 64 begin 65 if not Assigned(Fields) then 66 raise Exception.Create('Fields not set'); 65 67 Caption := 'Table fields - ' + TableName; 66 68 UpdateInterface; … … 73 75 begin 74 76 NewField := TField.Create; 77 NewField.Table := Fields.Table; 75 78 NewField.Name := 'New field'; 76 79 FormField.Load(NewField); … … 117 120 with TField(Fields[Item.Index]) do begin 118 121 Item.Caption := Name; 119 Item.SubItems.Add( FieldTypeString[FieldType]);122 Item.SubItems.Add(DataType.Name); 120 123 Item.SubItems.Add(BoolToStr(Required)); 121 124 Item.SubItems.Add(TextBefore);
Note:
See TracChangeset
for help on using the changeset viewer.