Information-table editing dialog box in a form
| The table editor
The table editor is like a “mini form” – you can place controls on it like on a regular form, move them and change their size, but all this under one limitation, that each such control must be a column in the table. This “mini form” actually helps us design how the dialog window will look when adding or editing a row in the table while entering the record data of this form… Therefore, adding a control is done by adding a column – open the list next to “Add column” [it initially reads “Choose element”], choose the appropriate control, and click “Add”. After adding, the control: [1] will appear on the dialog window’s panel [where you can move and resize it], will appear in the “column editor”, where you can select it, change its column width, set whether it is “displayed” or not [see further explanation below], and move it, so that its column in the table moves from place to place. |
Designing the table
When you add a table to a form, it is important that you know what options are available to you for designing the table, and how to apply them. The options are: hiding certain columns, setting the column order, and setting the column widths. These options are set from the “columns” of the table “column editor”:
Note that deleting a column-in-the-table [or a control] is done from the red trash icon at the top of the properties window… . |
Designing the dialog window
The table editor is like a “mini form” that helps us design how the dialog window will look when adding or editing a row in the table while entering the record data of this form… We saw that you can place controls on it like on a regular form. You can also move them and change their size, but you cannot delete them from the “mini-form” since they are “connected” to the column we defined in the columns table. If you want to delete the control from the form, you must delete it from the columns table… All the controls also have properties – like in the regular form. You can change the name, title, “mandatory”, etc… |