Add Fields and Columns
Fields and Columns can be added to existing forms by following the steps given
below:
Contents
Add Field using the IFS Data Set Toolbox
- In the form designer, select the form.
- In the tools menu, open
IFS Data Set Toolbox.
- 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.
- The Foundation1 properties will automatically be set to the model default
values.
- 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
- In the form designer, select the form.
- 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.
- Drag the control to the intended place on the designer view. The control
is created without data binding.
- 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 using the IFS Data Set Toolbox
- In the form designer, select the table.
- In the tools menu, open
IFS Data Set Toolbox.
- 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.
- The Foundation1 properties will automatically be set to the model default
values.
- 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
- In the form designer, select the table.
- 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".
- Drag the column to the intended position in the table. The column is created
without data binding.
- 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
- In the form designer, select the table.
- On the table, open the context menu and select
Add Column... .
- From the dialog, select one of the column types to add. The column is created
without data binding.
- Adjust the settings in the properties window, to make the column appear
and behave as intended. Particularly verify visibility and data binding.