Refresh browse in another window
Refresh browse in another window
(OP)
Dear All,
I have this browse in a window, in this window I have a button that opens another window, in the other window I have to enter some data and do some processes. the thing is that the program is in multi user environment. so the brow in first window is updated. I tried to put a timer to update the browse but when I open the second window the timer stops until I go back to the first screen.
Any ideas are extremely appreciated
I have this browse in a window, in this window I have a button that opens another window, in the other window I have to enter some data and do some processes. the thing is that the program is in multi user environment. so the brow in first window is updated. I tried to put a timer to update the browse but when I open the second window the timer stops until I go back to the first screen.
Any ideas are extremely appreciated
RE: Refresh browse in another window
RE: Refresh browse in another window
you can use: NOTIFY( notifycode, <thread>, <parameter> )
It's very easy ,there is an example in Clarion-Help.
cagiv
RE: Refresh browse in another window
BEst regards
RE: Refresh browse in another window
with lots of thanks
RE: Refresh browse in another window
an example:
loc:ThreadID SIGNED
loc:NotifValue UNSIGNED
in FirstWindow you start the SecondWindow:
loc:ThreadID = START(prSecWindow, 2500, Window{PROP:Thread})
in SecondWindow you will now refresh the FirstWindow
NOTIFY(NOTIFY:RefreshWindow, pThread)
in FirstWindow you get the Notification in NOTIFY-Embed from Window Events
IF NOTIFICATION(loc:NotifValue)
CASE loc:NotifValue
OF NOTIFY:RefreshWindow
DO ...
END
END
cagiv