I would like to build the complete toolbar with a XML file a


You can use next code ( was tested with latest version of toolbar from scbr.com, not sure about previous versions )

    toolbar.loadXML(“config.xml”,function(){
       toolbar.hideButtons();
    });

Sorry, but this doesn’t work. When the loading of the XML file takes a long time during a slow internet connection than still all buttons are displayed.
(I’m sure I am using the latest available verions.)

Please check attached sample.

Calling hideButtons just after loadXML will not work , because loadXMl is async operation, but you can use second param of loadXML as “after load” event handler.

9_toolbar.ZIP (21.1 KB)

With your attached source files it worked. Thanks!!