Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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 21, 2024, 6:30 am This article has been viewed 35331 times. Google search has resulted in 29 hits on this article since January 25, 2004.
|
|