Add Fields and Columns

Fields and Columns can be added to existing forms by following the steps given below:

Contents

Add Fields to a Form Window

Add Field using the IFS Data Set Toolbox

  1. In the form designer, select the form.
  2. In the tools menu, open IFS Data Set Toolbox.
  3. In the IFS Data Set toolbox, select an attribute and drag it to the design surface.
    This will create a control that is corresponding to the type of the attribute. To create other applicable types of controls, drag the attribute using the right mouse button.
  4. The Foundation1 properties will automatically be set to the model default values.
  5. Adjust the settings in the properties window, to make the control appear and behave as intended. Particularly verify data binding, size, resizing behavior and tab order.

Add Field using the Visual Studio Toolbox

  1. In the form designer, select the form.
  2. Select the type of control in the toolbox that you want to add. The Foundation1 controls that should be used are in the category IFS - Application Forms.
  3. Drag the control to the intended place on the designer view. The control is created without data binding.
  4. Adjust the settings in the properties window, to make the control appear and behave as intended. Particularly verify data binding, size, resizing behavior and tab order.

Note! Labels (of type cBackgroundText) associated with data bound fields are created with autosize behavior. This is normally the intended behavior, in order to make localizations work by default. Do not change to fixed size without good reason!

Add Columns to a Table Window

Add Columns using the IFS Data Set Toolbox

  1. In the form designer, select the table.
  2. In the tools menu, open IFS Data Set Toolbox.
  3. In the IFS Data Set Toolbox, select an attribute and drag it to the table on the design surface.
    This will create a column that is corresponding to the type of the attribute. To create other applicable types of columns, drag the attribute using the right mouse button.
  4. The Foundation1 properties will automatically be set to the model default values.
  5. Adjust the settings in the properties window, to make the column appear and behave as intended. Particularly verify visibility and data binding.

Add Columns using the Visual Studio Toolbox

  1. In the form designer, select the table.
  2. Select the type of column in the toolbox that you want to add. The Foundation1 columns that should be used are in the category "IFS - Application Forms".
  3. Drag the column to the intended position in the table. The column is created without data binding.
  4. Adjust the settings in the properties window, to make the column appear and behave as intended. Particularly verify visibility and data binding.

Add Columns using the Table Window Designer

  1. In the form designer, select the table.
  2. On the table, open the context menu and select Add Column... .
  3. From the dialog, select one of the column types to add. The column is created without data binding.
  4. Adjust the settings in the properties window, to make the column appear and behave as intended. Particularly verify visibility and data binding.