AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de emulación
  • Checking the function
  • Difference of message type
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Emulates the next call to OKCancel and automatically clicks the button passed as parameter.
Ejemplo
// Automatically close the next OKCancel dialog box
// The answer on which the click will be performed is OK
EmulateOKCancel(True)

// Process
// ...

SWITCH OKCancel("Do you want to save the modifications?")
CASE True
// Save the modifications
CASE False
// Cancel the modifications
END // The message is automatically closed via a click on OK
Sintaxis
EmulateOKCancel(<Button>)
<Button>: Integer constant
Indicates the button of the OKCancel window on which the click must be performed:
FalseClick on [CANCEL]
TrueClick on [OK]
Observaciones

Checking the function

The existence of an emulating function (EmulateWarning, EmulateError, EmulateInfo, ...) is checked during the call to the associated dialog function (Warning, Error, Info, ...).

Difference of message type

The order of functions EmulateXXX must respect the display order of functions Error, Info, ... Otherwise, a fatal error will be triggered.
Componente: wd300testexe.dll
Versión mínima requerida
  • Versión 11
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

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