I just made a popup menu for selecting a font, so it’s got a lot of entries. The menu appears without a problem, but instead of being a single column with a down arrow at the bottom, as I would expect on the mac, it’s about three columns wide, with the first two filled, and a down arrow at the bottom of the second column. The third column appears blank.
Is this the expected behavior? Is there a way to force the menu to display in a single column on the mac?
I didn’t know about the additional parameters to showAt(). Thanks for disabusing me.
After changing my code to:theResult = thePopupMenu.showAt (myButton,100,1,0);
there’s no change,however. Might this be because my font menu is actually a submenu of this menu? Is there a way to constrain the width of a submenu?
The two methods take different parameter lists, so you’re feeding it junk! That’s why I posted my original reply, because you seemed to be using the parameters for show(), but were actually calling showAt()!
I just noticed on the mac (maybe it happens on pc too) that when the menu spans multiple columns and the menu has submenus, say for example in the first column… when you try to mouse over the submenu to select an item the mouse event goes to the second column instead… making it impossible to select from a submenu with another menu beneath (without using arrow keys ;).