Re: default_button [message #19866] |
Mon, 17 April 2000 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
pei zeng (pei@prism-cs.com) writes:
> I have a dialog with an OK button which closes the dialog. I would like it
> to be a default button, so I can use "RETURN"/"ENTER" key or click using
> mouse.
> After I run the code, the OK button looks like a normal button(not
> highlighted), but it functions like a default button(enter key works). What
> is wrong?
Yeah, I think the documentation is talking about some other IDL,
because this doesn't work on a Windows machine at all. :-(
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|