3 class GenericEditor : Window
10 Array<FieldDataBox> dataBoxes { };
11 Array<Label> labels { };
24 public property Table table
34 if(!list.fldName && value)
35 list.fldName = value.FindField("Name");
37 for(f = value ? value.firstField : null; f; f = f.next)
39 if(strcmpi(f.name, "ID"))
42 FieldDataBox box { editor = editor, field = f, text = f.name, size = { h = h }, anchor = { left = 20, top = y + 16, right = 20 } };
43 Label label { editor.editArea, position = { 20, y }, labeledWindow = box };
44 if(eClass_IsDerived(f.type, class(DataList)) || eClass_IsDerived(f.type, class(IdList)) || eClass_IsDerived(f.type, class(MultiLineString)))
66 this, editor = editor,
67 anchor = { left = 0, top = 0, bottom = 0, right = 0.5 }
72 anchor = { left = 0.5, top = 0, bottom = 0, right = 0 }