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.
WINDEVWINDEV Mobile This refresh operation can be performed from a given position.
Note: ListDisplay can be used on single-selection and multiselection List Boxes.
Versions 15 and later
Android This function is now available for Android applications.
New in version 15
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 16 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Refresh the "LOOP_ProductLooper" control
ListDisplay(LIST_CustomerList)
WINDEVReports and QueriesAndroidWindows MobileUniversal Windows 10 AppJavaUser code (UMC)
// Refresh "LOOP_ProductLooper" from the beginning of the List Box control
ListDisplay(LIST_CustomerList, taStart)
Syntax
ListDisplay(<List Box control> [, <Position>])
<List Box control>: Control name
Name of browsing List Box (or Combo Box) control to refresh.
If this parameter corresponds to an empty string (""), the List Box control (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:
    taCurrentSelection
    • Refreshes the List Box control from the position of the selection bar.
    • The position of selection bar is not modified.
    PHP This constant is not available.
    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.
    Versions 15 and later
    PHP This constant is available in PHP.
    New in version 15
    PHP This constant is available in PHP.
    PHP This constant is available in PHP.
    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.
    Versions 15 and later
    PHP This constant is available in PHP.
    New in version 15
    PHP This constant is available in PHP.
    PHP This constant is available in PHP.
    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.
    Versions 15 and later
    PHP This constant is available in PHP.
    New in version 15
    PHP This constant is available in PHP.
    PHP This constant is available in PHP.
    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.
    PHP This constant is not available.
    Versions 16 and later
    PHP This constant is now available.
    New in version 16
    PHP This constant is now available.
    PHP This constant is now available.
    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.
    Universal Windows 10 AppPHP This constant is not available.
WEBDEV - Server code This parameter is not available.
Remarks

Miscellaneous

  • To refresh the Table controls, use TableDisplay.
  • ListDisplay can be used on a "Combo Box" table column.
WINDEVNative Connectors (Native Accesses)

Native SQLServer Connector

If ListDisplay 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 9
This page is also available for…
Comments
Video ListDisplay
https://youtu.be/zgG9p1qKi-A

https://windevdesenvolvimento.blogspot.com/2019/04/dicas-2065-windev-webdev-mobile-combox.html

// QRY_CLIENTES_COMBOX
SELECT
cliente.clienteid AS clienteid,
cliente.nome AS nome
FROM
cliente
WHERE
cliente.clienteid>{parametro_cliente}
ORDER BY
nome ASC

// BTN_ATUAZLIA_COMBOX_LISTDISPLAY

QRY_clientes_combox.parametro_cliente=EDT_ID
HExecuteQuery(QRY_clientes_combox,hQueryDefault)
ListDisplay(COMBO_QRY_clientes_combox)

amarildo
04 Apr. 2019