×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Refresh browse in another window

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

RE: Refresh browse in another window

(OP)
Sorry I mistaken in my description. with the timer it is working fine , but I want to press a button in the second screen that refreshes the first screen.

RE: Refresh browse in another window

Hi,

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

(OP)
THank you cagiv, I will try that.

BEst regards

RE: Refresh browse in another window

(OP)
Sorry cagiv I tried it but didnt give any results. can you explain more how to apply it.

with lots of thanks

RE: Refresh browse in another window

Hi,

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close