AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de Windows / Funciones de actualización de aplicaciones
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
WLanguage procedure called by AppControl
Procedure ("Callback") called by AppControl to process the remote control messages. This procedure must be global.
Example
// Project initialization code
// Customization with a procedure
AppControl("C:\MyApp\StopFile.Txt", AppControl_Callback)
// ----------------------------------
// -- AppControl_Callback global procedure
PROCÉDURE AppControl_Callback(AccessMode, MessageToDisplay, DispDuration)
SWITCH AccessMode
CASE acForbidden
IF UserName  "ADMIN" THEN Open(WIN_UnableToConnect)
CASE acWarning
IF UserName <>  "ADMIN" THEN Info(MessageToDisplay)
CASE acStop
IF UserName <> "ADMIN" THEN EndProgram()
END
Syntax
AppControl_Callback(<Mode> , <Message> , <Display time>)
<Mode>: Integer constant
Current remote control mode:
acForbiddenAccess denied to the application.
Caution: The program is not automatically stopped when the application is stopped: EndProgram must be found in your code in order to end the application.
acStopApplication shutdown.
acWarningWarning of imminent shutdown.
<Message>: Character string
Message corresponding to the current mode.
<Display time>: Integer
Maximum display time of a window, if any (in seconds).
Versión mínima requerida
  • Versión 25
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/06/2023

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