|
|
|
|
|
- Item characteristics
- Handling the item and the ListView control
- To update the ListView control with the element that corresponds to the value stored in the item:
- To update an item with the index of the element selected in the ListView control:
Binding a ListView control to an item
A ListView control can be bound to an item in a data file, query, etc. The item associated with the field will default to the index of the item selected in the ListView control. Handling the item and the ListView control To update the ListView control with the element that corresponds to the value stored in the item: Case 1: window fields are associated with fields in a data file (Binding) All the controls bound to an item in the data file (or a related file) will be updated by FileToScreen. Case 2: the fields in the window are not associated with fields in a data file A value must be assigned to each control using the following syntax: <Control name> = <Data file>.<Item> To update an item with the index of the element selected in the ListView control: Case 1: window fields are associated with fields in a data file (Binding) All the items in the data file (or a related file) that are bound to a control in the window will be updated by ScreenToFile. Case 2: the fields in the window are not associated with fields in a data file The value of each control must be assigned to each item using the following syntax: <Data file>.<Item> = <Control name>
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|