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 / Emulation functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
EmulateCombo (Function)
In french: PiloteCombo
Emulates one of the following actions on a Combo Box control:
  • click on the button to expand the list of the Combo Box control.
  • select an element in a Combo Box control.
Example
// Sélection du 5ème élément du champ Combo
EmulateCombo(COMBO_Choix, 5)
Syntax

Emulating the Combo Box control via the identifier of the element Hide the details

EmulateCombo(<Combo Box control> [, <Element index>])
<Combo Box control>: Control name
Name of Combo Box control.
<Element index>: Optional integer
Index of the element to select in the Combo Box control. If this parameter is not specified, a click on the Combo Box control list drop-down button is simulated.

Emulating the Combo Box control via the caption of the element Hide the details

EmulateCombo(<Combo Box control> [, <Element caption>])
<Combo Box control>: Control name
Name of Combo Box control.
<Element caption>: Optional character string
Caption of element to select in the control (the first element with the sought caption will be selected).
Remarks
This function must be used in the code of automated tests only.
Component: wd300testexe.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help