PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → RequestUpdateUI
RequestUpdateUI
Débuté par Arekusei Timakobu, 30 nov. 2016 17:13 - 1 réponse
Posté le 30 novembre 2016 - 17:13
I need to update internal window from other internal window. I tried to use RequestUpdateUI but I could not achive the positive result. As they said in manul I created the procedure inside required process with parameter:

PROCEDURE AskForRefresh(SomeParam string)
When I call RequestUpdateUI the above procedure is not called, i.e. process is not executed! When I commented the above code line (with PROCEDURE) and initiate update UI with

ExecuteProcess(IW_Window,trtRequestUpdate) the process is executed but in this case I can't pass parameters. So I am stuck.

Could you please give me some advise? What I did wrong?
Membre enregistré
102 messages
Popularité : +2 (2 votes)
Posté le 01 décembre 2016 - 15:35
You could try to use the 'Assigning the ..Value property' of your internal window.

IW_1 calls IW_2:
IW_2 = newValue


Code for IW_2 in 'Assigning the ..Value':
SWITCH MySelf..value
CASE 1:
//<your code>
CASE 2:
//<your code>
OTHER CASE
END


--
http://arnoldconsult.de
WinDev 21 with Oracle, WinDevMobile Android Apps and Motorola Windows CE Mobile Barcode Scanners, Python 3 with Oracle and MySQL