ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / List Box functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Note: These functions are also available in prefix syntax (Functions for manipulating List Box, ListView and Combo Box controls (prefix syntax)).
The following functions are used to manage List Box, ListView and Combo Box controls:
FileToMemoryListPopulates a List Box or Combo Box control programmatically with the records from a data file or query.
ListAddAdds an element to a List Box, ListView or Combo Box control populated programmatically.
ListCountReturns the number of elements in a List Box, ListView or Combo Box control.
ListDeleteDeletes an element from a List Box, ListView or Combo Box control populated programmatically.
ListDeleteAllClears a List Box, ListView or Combo Box control populated programmatically.
ListDisplayRefreshes a List Box, ListView or Combo Box control based on a data file
ListInfoXYReturns the index of the row (or image) at a given position in a List Box or ListView control.
ListInsertInserts an element into a List Box, ListView or Combo Box control populated programmatically.
ListModifyModifies an element in a List Box, ListView or Combo Box control populated programmatically.
ListMoveLineMoves a row or swaps two rows in a List Box or Combo Box control.
ListPositionDisplays a List Box or ListView control from a specified element or returns the index of the first element displayed in a List Box control (if the scrollbar was used).
ListSeekSearches for an element in a List Box, ListView or Combo Box control (including the values described by gStoredValue).
ListSelectReturns the index of the selected element in a List Box, ListView or Combo Box control.
ListSelectCountReturns the number of elements selected in a List Box, ListView or Combo Box control.
ListSelectMinusDeselects an element in a List Box, ListView or Combo Box control.
ListSelectPlusSelects one or more elements in a List Box, ListView or Combo Box control.
ListSortSorts the elements in a List Box, ListView or Combo Box control populated programmatically.
New in version 2025
LoadImageProcedureList
Specifies the procedure to be called when displaying a line in a List Box control. This makes it possible to display a calculated image rather than one stored on disk.
Related Examples:
The ListView control Unit examples (WINDEV): The ListView control
[ + ] Using the ListView control of WINDEV.
The ListView control is used to display the content of a list in thumbnail format.
Like the List Box or Table controls, the ListView control can be a "memory" control (filled by programming) or a "browsing" control (linked to a database).
Minimum version required
  • Version 9
This page is also available for…
Comments
Video sobre Criar ListBox Automatico
https://youtu.be/DgAm5cTbCwk
amarildo
01 Jul. 2018

Last update: 10/30/2024

Send a report | Local help