On Tuesday, April 24, 2012 3:37:04 PM UTC+2, David Fanning wrote:
> Rongchang Chen writes:
>
> > I have my runtime application, saved it in a .sav. I found it can be
> > multi opened. However, I wish the same application just can be one
> > open/active on the operation system, if someone want to open the same
> > application again, then it will pop-up the already opened one.
> > Does someone know how to realize this?
>
> Use the XRegistered command in your program. If the program
> is already registered, use the Show keyword to Widget_Control
> on your top-level base widget.
>
> Cheers,
>
> David
>
>
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
arghhh David you are every where ;-)
Vincent