PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Characteristics of item
  • To retrieve in an item, the subscript of the element selected in the ListView control
  • To select in the listview the element corresponding to the value stored in the item:
  • To retrieve in an item the subscript of the element selected in the ListView control:
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
Retrieving the value of a listview in an item
Characteristics of item
A ListView control can be associated with an item found in a data file, a query, ...
The item associated with the listview will contain the subscript of the element selected in the listview.
To retrieve in an item, the subscript of the element selected in the ListView control

To select in the listview the element corresponding to the value stored in the item:

1st case: the window is associated with a data file
All the controls associated with an item found in the data file (or in a linked file) will be assigned by FileToScreen.
2nd case: the window is not associated with a specific data file
Each control must be assigned individually. Use the following syntax:
<ListView Name> = <FileName>.<ItemName>

To retrieve in an item the subscript of the element selected in the ListView control:

1st case: the window is associated with a data file
All the items of the data file (or linked file) associated with a window control will be assigned by ScreenToFile.
2nd case: the window is not associated with a specific data file
Each control must be assigned individually. Use the following syntax:
<FileName>.<ItemName> = <ListView Name>
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment