Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
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
Today is November 23, 2024, 6:45 am This article has been viewed 35334 times. Google search has resulted in 29 hits on this article since January 25, 2004.
|
|