ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / List Box functions
  • Miscellaneous
  • Native SQLServer Connector
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
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
Note: The ListDisplay function can be used for both single-selection and multi-selection lists.
Example
// Rafraîchissement du champ "LISTE_ListeClient"
ListDisplay(LISTE_ListeClient)
Syntax
ListDisplay(<List Box control>)
<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.
Remarks

Miscellaneous

  • To refresh the Table controls, use TableDisplay.
  • ListDisplay can be used on a "Combo Box" table column.
Native 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: wd300obj.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

Last update: 09/14/2024

Send a report | Local help