🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12180

Re: Programming multiple Menu Selections

#12180
From: William J. Murphy
Date: Mon, 10 Apr 1989 14:50
22 lines
1397 bytes
In article <2124@pur-phy> murphy@newton.physics.purdue.edu (William J. Murphy) writes:
>From what I have discerned from Mortimore, if number is not a valid 
>menuNumber then ItemAddress will return a NULL.  Is it correct to trap
>for this potential error condition?  Maybe something like this?
>
>if ((number = ItemAddress(main_menu[0], number)-NextSelect) == NULL)
>    number = MENUNULL;

Before I get flamed for the obvious mistake, I will correct it.

number = ItemAddress(main_menu[0], number)->NextSelect;
if (number == NULL)
    number = MENUNULL;

This seemed to take care of the problem I experienced, but now I am asking 
myself how do you select multiple menu choices?  I tried a few things
such as SHIFT-RMB LMB, LMB...  In Browser one can multiple select files
with SHIFT-LMB, but is multiple selection supposed to be a feature of
menus?

>Finally, I guess I am asking how do others support multiple menu selections.
Bill Murphy
Technical Details
Message-ID: <2126@pur-phy>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!pur-ee!pur-phy!murphy
References: <2124@pur-phy>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!pur-ee!pur-phy!murphy
From: murphy@pur-phy (William J. Murphy)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Programming multiple Menu Selections
Message-ID: <2126@pur-phy>
Date: 10 Apr 89 14:50:36 GMT
References: <2124@pur-phy>
Reply-To: murphy@newton.physics.purdue.edu.UUCP (William J. Murphy)
Organization: Purdue Univ. Physics Dept., W. Lafayette, IN
Lines: 22