End_item_group Command
Obsolete
This command is obsolete. It was only used in now obsolete DataFlex classes.
Purpose
To end the declaration of a group of dependent items.
Syntax
item_group
dependent_item ...
:
dependent_item ...
end_item_group
What It Does
This command may only be used to end a group of dependent items. Dependent item groups should be declared just prior to the first start_ui statement.
A dependent_item group is created whenever a group of items must always have the same value. For example, when a database field is bound to more than one item (in one or more objects), each item bound to the field must display the same value. To ensure this, you may create a dependent item group that specifies all equivalent items.
item_group
dependent_item customerform.obj 1
dependent_item paymentform.obj 2
end_item_group
In this example, if the second item in Objectcustomerform and the third item in Objectpaymentform were both bound to Fieldcustomer.customer_name, we would create a dependent item group to ensure that they both always reflect the same value.
Any time data entry is performed on one of the items in the group, all of the other items in the dependent group are set to the value of the edited item once the cursor leaves the item.