Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!blake!Tomobiki-Cho!mrc From: mrc@Tomobiki-Cho.CAC.Washington.EDU (Mark Crispin) Newsgroups: comp.sys.next Subject: Re: popup menus Message-ID: <2092@blake.acs.washington.edu> Date: 19 May 89 20:01:17 GMT References: <23914@labrea.Stanford.EDU> Sender: news@blake.acs.washington.edu Organization: Mendou Zaibatsu, Tomobiki-Cho, Butsumetsu-Shi Lines: 27 In article <23914@labrea.Stanford.EDU> combs@sumex-aim.stanford.edu (Dave Combs) writes: >Does anyone have any decent suggestions about how to do regular pop-up >menus (without the hack that they have to be part of the "main" menu, and >be accessed through the right mouse button?) I have a large number of >very specific menus, so attaching all of them to the main menu is very >inelegant. I have the same problem as Dave. In 0.8, I ended up using modal panels filled with buttons. This caused me lots of fun and laughter in 0.9, since 0.9 forcibly centers modal panels (and causes nested modal panels to be placed so that their top-left corner is approximately 1 screen inch lower and to the right of the previous panel). I eventually created a subclass of panels that has null methods for center: and moveTopLeftTo:: and which get placed where I want them to. However, 0.9 does have two new facilities, see "Buttons That Bring Up Lists" on page 44 of the 0.9 NeXT User's Reference Manual. I'm going to be moving to using them, and may be able to get rid of some of my modal panels. Mark Crispin / 6158 Lariat Loop NE / Bainbridge Island, WA 98110-2020 mrc@CAC.Washington.EDU / MRC@WSMR-SIMTEL20.Army.Mil / (206) 842-2385 Atheist & Proud / 450cc Rebel pilot -- a step up from 250cc's!!! tabesaserarenakerebanaranakattarashii...kisha no kisha ga kisha de kisha-shita sumomo mo momo, momo mo momo, momo ni mo iroiro aru uraniwa ni wa niwa, niwa ni wa niwa niwatori ga iru