[comp.sys.mac.programmer] PopUpMenuSelect...MPW Pascal

aclark@bcarh332.bnr.ca (Alexa Clark) (03/14/90)

I am having problems with the following command....

  result := PopUpMenuSelect(menuHandle,top,right,2);

The main problem...only real problem...is that the desired current item 
selected, (2 in this example), is not the current item selected when the
popupMenu is displayed.  Usually it is the (desired item+2), however
doing a (cur_item-2) doesn't fix the problem.

Actually,  I modified the variable, and with (cur_item-n) n={1..9} always
brings the 3rd item up as current.

Any Ideas...please.....I thought it was just an offset problem, but I can't
seem to fix the offset....ARGH!

thanks, 
alexa.

please e-mail responses...my node is kinda flakey for news.

----------------------------------------------------------------
stop murder us not tonsured rumpots.
Alexa Clark , BNR, Ottawa, ON.     (613) 765 4998. 
..uunet!bnrgate!bcarh332!aclark