|
|
|
|
|
- Finding out the value returned by a child window
MyChildWindow (Reserved word) In french: MaFenêtreFille
MyChildWindow is used to handle the child window of the current window. When running the window, MyChildWindow is replaced with the window (and not by the name of the window). Interest: The MyDaughterWindow keyword can only be used in the "Closing a child window" event.. This keyword is used to handle in this code the characteristics of the child window that was closed. This allows you to retrieve: - the name of the child window that was closed by the Name property.
- the value returned by the child window via the ReturnedValue property.
LooperDisplay(ZR_Clients, taReExecuteQuery)
IF MyChildWindow.ValeurRenvoyée <> -1 THEN
nIndice is int
nIndice = LooperSearch(ATT_NumClient, Client.NumClient)
IF nIndice > 0 THEN
LooperPosition(ZR_Clients, nIndice)
END
END
Remarks Finding out the value returned by a child window MyChildWindow allows you to get the name of the child window closed as well as the value it has returned, when used in the "Close a child window" event of the parent window (the window in which OpenMobileWindow or OpenChild were called). For example: - In the closing code of the child window, Close is used to return a parameter:
- The name of the child window as well as the returned value can be retrieved in the "Close a child window" event of the calling window:
NameChildWindow = MyChildWindow.Name
ValueChildWindow = MyChildWindow.ReturnedValue
Related Examples:
|
Cross-platform examples (WINDEV Mobile): WM Expense Account
[ + ] This example allows you to manage your fees. Let's see the main features of this application: - The input of invoices - Management of foreign currencies - Inclusion of photo document for the invoices - Ability to email the expense account - Ability to track the expense accounts - ...
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|