🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2250

Re: Dynamic Dialogs in Actor

#2250
From: Paul Gyugyi
Date: Mon, 22 Apr 1991 23:22
29 lines
1874 bytes
To all Actor users:
I want to start an Actor e-mail newsletter, which I guess
I'll post to this group.  I would like people to send me
1 to 3 page letters of hints about using Actor.  For example,
I'm writing a nethack-like adventure game, and I'll talk about
how to redraw screens where every character could be a different
color, in an efficient way.  I'll also talk about how to use
the WRT with actor, since I got it with TPW.  If you have some
words of wisdom, here's a place to pass them on...


and to Bill Dyer in particular:

|> Dialog1 := new(DialogDesign);
|> addItem(Dialog1, newDefButton(DlgItem, "OK", IDOK, 50@50, 32@16, 0));
|> addItem(Dialog1, newDefButton(DlgItem, "Cancel", IDOK, 50@70, 32@16, 0));

You should only have one 'Def' button, and that becomes the default.
The others should just be newButton or something...

One warning about Dynamic Dialogs:  If you have too
many controls, it won't work (I forget whether it crashed or
what).  But above a dozen controls, (your milage may vary),
you should go with resource file dialog boxes.
I remember a thread on Compu$erve about this a while ago.

--
Paul Gyugyi
gyugyi@earthsea.stanford.edu
Technical Details
Message-ID: <1991Apr22.162252@earthsea.stanford.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!stanford.edu!leland.Stanford.EDU!earthsea.stanford.edu!gyugyi
References: <6203@graphite32.UUCP> <1991Apr17.050112.28564@isc.rit.edu> <6236@graphite32.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!stanford.edu!leland.Stanford.EDU!earthsea.stanford.edu!gyugyi
From: gyugyi@earthsea.stanford.edu (Paul Gyugyi)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Dynamic Dialogs in Actor
Keywords: Actor Dialogs Buttons
Message-ID: <1991Apr22.162252@earthsea.stanford.edu>
Date: 22 Apr 91 23:22:52 GMT
References: <6203@graphite32.UUCP> <1991Apr17.050112.28564@isc.rit.edu> <6236@graphite32.UUCP>
Sender: news@leland.Stanford.EDU (Mr News)
Reply-To: gyugyi@earthsea.stanford.edu (Paul Gyugyi)
Distribution: usa
Organization: Stanford University
Lines: 29