how-to set up separator in popup button

Hi. The code I’ve tried:

make new menu item at the end of menu items of menu of popup button "Rachmaninov" of window "Roll-over, Beethoven" with properties {separator item:true}

Obviously, it doesn’t work :cry:

The following is only a guess. In Filemaker pro and DD (I think) a separator item was symbolized by a dash “-”. You could try to add a “-” in your list of items of your pop up menu

Jean-Baptiste (downloading the 300 Mo fo December Developers Tools…)

Doesn’t work :frowning:
These menu items are so strange. I’ve tried, too, setting up a disabled menu item but doesn’t work with a simple {title:“”, enabled:false}
?

You can do it staticaly in IB. Just select a menu separator in your Cocoa-Menu tab of IB Palette and drop it in your popup menu. Now how to do it dynamicaly is an other problem…