PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Characteristics of item
  • Handling the item and the combo box
  • To select in the Combo Box control the value stored in the item
  • To retrieve the content of the Combo Box control in an item
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
Combo Box control linked to an item
Characteristics of item
A Combo Box control can correspond to a data file, a query, ...
The following types of items can be associated with a Combo Box control:
  • Text,
  • Numeric,
  • Date or Time,
  • Radio button, List box, Combo box.
The item associated with the Combo Box control will contain the subscript of the element selected in the control.
Note: When an item is associated with a Combo Box control, the content of the combo box is the same for all the file records. The content of the combo box can be directly entered in the data model editor or in the window editor, or it can be assigned by programming (ListAdd).
Handling the item and the combo box

To select in the Combo Box control the value stored in the item

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

To retrieve the content of the Combo Box control in an item

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