AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de ventanas / Procedimiento WLanguage
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 OpenAsynchronous
WLanguage procedure ("callback") called by OpenAsynchronous after the window is closed. This procedure can be a local, global or internal procedure.
Example
// Open asynchronously without passing parameters
OpenAsynchronous(WIN_DateSelect, (), CloseDateSelect)
INTERNAL PROCÉDURE CloseDateSelect(SelectedDate)
EDT_DATE = SelectedDate
END
// Open asynchronously without passing parameters and lambda
OpenAsynchronous(WIN_DateSelect, (), (SelectedDate) => {EDT_DATE = SelectedDate})
// Open asynchronously with 2 parameters
OpenAsynchronous(WIN_DateSelect, (DateSys(), "Select a date"), CloseDateSelect)
INTERNAL PROCÉDURE CloseDateSelect(SelectedDate)
EDT_DATE = SelectedDate
END
Syntax
OpenAsynchronous_Callback(<Return value>)
<Return value>: Type of the return value
Corresponds to the value that will be returned by the window. This value can be returned:
  • via the RETURN statement in the closing code of the window,
  • via Close (Close("", Value)),
  • via the ReturnedValue property of the window.
Component: wd290obj.dll
Versión mínima requerida
  • Versión 27
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 14/11/2022

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