I'd like to be able to use the menu button which does not contain embedded menus. I have the following code below but the problem is it still shows an empty menu below. How do I suppress this? The JS code works fine in SC7.
Code:
isc.Menu.create({
ID: "menu",
autoDraw: false,
showShadow: true,
shadowDepth: 10
});
isc.MenuButton.create({
ID: "menuButton",
title: "File",
width: 100,
menu: menu,
click: function(){isc.warn('click');}
});
Comment