Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!wuarchive!usc!ucsd!hub!6500stom From: 6500stom@hub.UUCP Newsgroups: comp.sys.mac.programmer Subject: Popupmenu CDEF Message-ID: <3379@hub.UUCP> Date: 20 Dec 89 18:46:06 GMT Sender: news@hub.UUCP Lines: 27 > The beta documentation is indeed a major mess, but that's to be > expected. But what's the problem with the discussion of the pop-up > menu CDEF on pages 172-175? Granted, it should mention explicitly that > TrackControl causes the index of the selected item to be stashed in the > control value field, but that's fairly obvious. (Now I just hope that > really is how it works! This seems to be very strongly implied by the > comments about the minimum being set to one and the max being set to > the number of items....) This sounds very much like the popupmenu CDEF that I'm working on right now and maybe I'll introduce it because I should be done with v2.0 today. The main feature is that there is zero flickering if you use it non-abusively. It conforms almost exacly to the pictures in IM V and even has code to center itself within the CNTL bounds if you want. I found that it wasn't a good idea to have the max set to the number of items in the menu because then if you changed the menu dynamically you can't make the selected item greater than the previous number of items. If anyone is interested I could explain how I eradicated the flicker. / Josh Pritikin T Ignorance is bliss. \ | Internet: 6500stom@ucsbuxa.ucsb.edu | I must be in hell. | | AppleLink: Josh.P | My room is proof that entropi | \ GEnie: J.Pritikin ! exists. /