3 class GenericEditor : Window
9 Array<FieldDataBox> dataBoxes { };
10 Array<Label> labels { };
23 public property Table table
33 if(!list.fldName && value)
34 list.fldName = value.FindField("Name");
36 for(f = value ? value.firstField : null; f; f = f.next)
38 if(strcmpi(f.name, "ID"))
40 FieldDataBox box { editor = editor, field = f, text = f.name, size = { 200, 20 }, position = { 20, y + 16} };
41 Label label { editor.editArea, position = { 20, y }, labeledWindow = box };
59 this, editor = editor,
60 anchor = { left = 0, top = 0, bottom = 0, right = 0.5 }
65 anchor = { left = 0.5, top = 0, bottom = 0, right = 0 }