Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!ftpbox!mothost!motcid!dyer From: dyer@motcid.UUCP (Bill Dyer) Newsgroups: comp.windows.ms.programmer Subject: Dynamic Dialogs in Actor Summary: How do I set the default button selection. Keywords: Actor Dialogs Buttons Message-ID: <6203@graphite32.UUCP> Date: 16 Apr 91 15:40:36 GMT Distribution: usa Organization: Motorola Inc. - Cellular Infrastructure Div., Arlington Heights, IL 60004 Lines: 17 I am creating dynamic diaologs in Actor. The dialogs have several buttons. How can I create the dialog so that when I press return (after entering text for instance) a default button selection will be used. For instance, if I have an "OK" button and a "Cancel" button I would like "return" to be the equivalent of pressing the OK button with the mouse. I don't want to have to hit Alt-o or reach for my mouse to finish up the dialog. Thanks, Bill -- ___________________________________________________________________________ | Can't shake the devil's hand, | Bill Dyer, Motorola C.I.G. | | And say your only kidding. | motcid!dyerb@uunet.uu.net | | -They Might Be Giants | (708) 632-7081 |