hiAddFields
hiAddFields(
g_formRegionOrLayout
l_items
[ g_attachmentsOrLayout ]
)
=> t / nil
Description
Adds fields to a form. The form must already exist, and the fields must have been created with one of the field creation routines.
Arguments
|
g_formRegionOrLayout
|
|
|
The form, scroll region, tab page, or hiLayout that the fields and/or layouts are added to.
|
|
l_items
|
The l_items list is in the same format as fields list provided to hiCreateAppForm for the form type being added to in the 1D, 2D, or attachment form.
If the form is an hiLayout form, the l_items list is in the same format as for hiCreate*Layout functions used to create the layout in which the items are being added to.
|
|
g_attachmentsOrLayout
|
|
|
If g_attachmentsOrLayout is specified, it must be an attachment list if the form is an attachment form. Otherwise, for an hiLayout form, it can be the layout within the specified g_formRegionOrLayout to which the items gets added. For hiLayout forms, the new fields are added to the end of the layout unless it is a grid layout in which the grid location controls must be included in the l_items list.
|
Values Returned
|
t
|
The field is added.
|
|
nil
|
The field is not added.
|
Related Topics
hiLayout Form Functions
Return to top