Hello,
i share with you a method for adding a scroller menu for unipage control
download the join file plugin_tabscrollermenu.zip
uncompress in a directory where you have your application. for me it is in assets/plugin
in unimainmodule register the js file and css file of the plugin
uses ....
uniGUIClasses,uniguitypes;
....
initialization
RegisterMainModuleClass(TUniMainModule);
UniAddCSSLibrary('assets/plugin/TabScrollerMenu.css', False, [upoPlatformDesktop]);
UniAddJSLibrary('assets/plugin/TabScrollerMenu.js', False, [upoPlatformDesktop]);
in your unipagecontrol->unievents->Ext.tab.Panel[TabPanel] add :
function tabPanel.beforeInit(sender, config)
{
sender.plugins = [ 'tabscrollermenu'];
}
note : if the property of a unitabsheet tabvisible = false then the tabsheet will not be in the menu