|
|
|
|
|
- Miscellaneous
- Native SQLServer Connector
ListDisplay (Function) In french: ListeAffiche Refreshes a List Box, ListView or Combo Box control based on a data file. List Box, ListView or Combo Box controls populated programmatically are automatically refreshed Remark: ListDisplay can be used on single-selection and multi-selection List Boxes.
// Refresh the "LOOP_ProductLooper" control ListDisplay(LIST_CustomerList)
Syntax
ListDisplay(<List Box control> [, <Position>])
<List Box control>: Control name Name of the List Box, ListView or Combo Box control based on a data file to be refreshed. If this parameter corresponds to an empty string (""), the List Box, ListView or Combo Box control to which the current event belongs is refreshed. <Position>: Integer or constant (optional) Indicates the start position for the refresh. This parameter can correspond to:- an integer. The refresh is performed from this position. The selected element is not modified. ListDisplay has no effect if this parameter is invalid.
- a constant:
| | taCurrentFirst | - Refreshes the List Box control from the current record in the data file.
- The first row of the List Box control is selected. This row corresponds to the current record of the control.
| taCurrentSelection | - Refreshes the List Box control from the position of the selection bar.
- The position of selection bar is not modified.
This constant is not available. | taInit | - Runs the initialization events of the List Box control (initializing and end of initialization events).
- Fills the List Box control.
- The first row of the List Box control is selected. This row corresponds to the first record displayed in the control.
| taNoUpdEditCb | If the control is an editable Combo Box control, the edit control associated with the Combo Box control is not modified according to the new content of the list. If this constant is not used, the edit control associated with the Combo Box is modified by default. This constant can be combined with the other constants.![Universal Windows 10 App Universal Windows 10 App](https://doc.windev.com/ext/images/us/UNIVERSALAPP.png?1080764836) This constant is not available. | taReExecuteQuery | - Re-runs the query (for the List Box controls on embedded queries only).
- Refreshes the List Box control and sets the selection bar at the beginning of the list.
- The first row of the List Box control is selected. This row corresponds to the first record displayed in the control.
| taStart | - Refreshes the List Box control and sets the selection bar at the beginning of the list.
- The first row of the List Box control is selected. This row corresponds to the first record displayed in the control.
|
Remarks Miscellaneous - To refresh the Table controls, use TableDisplay.
- ListDisplay can be used on a "Combo Box" table column.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|