AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de emulación
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 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: wd290testexe.dll
Versión mínima requerida
  • Versión 25
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local