Article View: comp.windows.ms.programmer
Article #2233Re: Dynamic Dialogs in Actor
From: a.stranger
Date: Wed, 17 Apr 1991 05:01
Date: Wed, 17 Apr 1991 05:01
20 lines
1404 bytes
1404 bytes
In article <6203@graphite32.UUCP> dyer@motcid.UUCP (Bill Dyer) writes:
>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.
from page 490 of the Actor manual :
Dialog1 := new(DialogDesign);
/* other buttons , test , size settings and controls */
addItem(Dialog1, newDefButton(DlgItem, "OK", IDOK, 50@50, 32@16, 0));
--
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ "Imagination keeps the shadows away - Xymox @
@~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~@
@ a.stranger - CMS2839@ritvax.isc.rit.edu @
Technical Details
Message-ID:
<1991Apr17.050112.28564@isc.rit.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!cci632!ritcsh!ultb!cms2839References:
<6203@graphite32.UUCP>Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.ms.programmer Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!cci632!ritcsh!ultb!cms2839 From: cms2839@isc.rit.edu (a.stranger) Subject: Re: Dynamic Dialogs in Actor Message-ID: <1991Apr17.050112.28564@isc.rit.edu> Keywords: Actor Dialogs Buttons Organization: RIoT References: <6203@graphite32.UUCP> Distribution: usa Date: Wed, 17 Apr 91 05:01:12 GMT