PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Miscellaneous
  • Native SQLServer Connector
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Refreshes the display of a browsing List Box, ListView or Combo Box control. For a memory List Box or Combo Box control, the refresh is automatically performed.
Note: <List Box>.Display can be used on single-selection and multiselection List Boxes.
Example
// Refresh the "LOOP_ProductLooper" control
LIST_CustomerList.Display()
Reports and Queries
// Refresh "LOOP_ProductLooper" from the beginning of the List Box control
LIST_CustomerList.Display(taStart)
Syntax
<List Box control>.Display([<Position>])
<List Box control>: Control name
Name of the browsing List Box (or Combo Box) control to refresh.
<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. <List Box>.Display has no effect if this parameter is invalid.
  • a constant:
    taCurrentSelection
    • Refreshes the List Box control from the position of the selection bar.
    • The position of selection bar is not modified.
    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.
    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.
    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.
    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.
    Versions 15 and later
    taNoUpdEditCb
    New in version 15
    taNoUpdEditCb
    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.
Remarks

Miscellaneous

  • To refresh the Table controls, use <Table>.Display.
  • <List Box>.Display can be used on a "Combo Box" table column.
Native Connectors (Native Accesses)

Native SQLServer Connector

If <List Box>.Display handles a List Box control linked to a data file accessed by the Native SQLServer Connector, we recommend that you use the taCurrentFirst and taStart constants.
Component : wd240obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment