|
|
|
|
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. // 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|