Adding a Table control to the form or report

After you have defined a new form, from the Form Builder screen:

  1. In the Controls Toolbox, select the Table control.
  2. Click anywhere inside the workspace to paste the Table control.

    The default table is made up of 3 rows and 4 columns. The Values for the highlighted Table control are displayed in the Property Inspector window.

  3. Change the Table Name to one that more appropriately describes the purpose of the control.
  4. In the Controls Toolbox, select a subordinate control to add to the Table (subordinate controls are Form Builder controls that sit inside the cells of the Table control).
  5. In the workspace, click the Table cell where you want the subordinate control to be pasted.

    In this example, the TextBox control was pasted in the first row of the first column in the Table control. The TextBox is a subordinate control to the Table because the control is displayed inside the Table.

  6. Repeat Steps 4 and 5 until you have added the required controls to the table.

    In this example, a total of 12 subordinate controls have been added to the Table control. Three TextBoxes in the first column, three TimeEdits in the second column, three Check Boxes in the third column, and three TextBoxes in the last column.



  7. In the Property Inspector, select the appropriate Property fields to customize the Table control’s appearance and functionality. The following are examples of Table property fields options:
    Border
    Sets the thickness of the table border.
    Bordercolor light / dark
    Sets the shading attributes for the Table border.
    Columns
    The number of columns in the table. New columns are added to the right side of the table. As a precaution, WFM only allows you to delete empty columns. You cannot delete columns that contain subordinate controls. To delete a column that contains subordinate controls, delete all the subordinate controls in the column first, and then delete the empty column.
    Cell Padding
    Sets the thickness of the margin between the table’s cell border and the subordinate control.
    Cell Spacing
    Sets the thickness of the cell border(s).
    Frame
    Sets the style of the frame border.
    Rows
    The number of rows in the table. New rows are added to the bottom of the table. As a precaution, WFM only allows you to delete empty rows. In other words, you cannot delete rows that contain subordinate controls. To delete a row that contains subordinate controls, delete all the subordinate controls in the row first, and then delete the empty row.
  8. Save the form with the Table control changes.