`
Clarion 6: Bring window to front 2004-11-16 -- Rick Martin Newsgroups: comp.lang.clarion
> >I have 2 mdi windows open on 2 threads, and would like to programmitacally
> >bring either to the top. I thought POST(EVENT:Restore,,ThreadNumber) would
> >do, but I'm surprised.
> Settarget(,YourThread)
> 0{PROP:Active} = TRUE
That's a no-no in C6.x.
I'd use Notify with a user event:
Notify(Event:ComeToFront,1)
In the other procedure when Event:Notify is received with notify code
Event:ComeToFront do
0{PROP:Active} = TRUE
HTH,
Rick Martin
Printed October 25, 2026, 5:47 am This article has been viewed/printed 36442 times. Google search has resulted in 29 hits on this article since January 25, 2004. |