PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV 25 feature!
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
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
// Select the 5th element of the Combo Box control
EmulateCombo(COMBO_Choice, 5)
Syntax

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

EmulateCombo(<Combo Box control> [, <Element subscript>])
<Combo Box control>: Control name
Name of Combo Box control.
<Element subscript>: Optional integer
Subscript of 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>: Character string with optional quotes
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 automatic tests only.
Component : wd250testexe.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment