ContextMenu SEToolBar Assign

<< Click to Display Table of Contents >>

Navigation:  SEUIXP Classes for X# > Classes > SEToolBar >

ContextMenu SEToolBar Assign

Previous pageReturn to chapter overviewNext page


Sets a contextmenu to the complete rebar control or the specified toolbar or rebar band.



METHOD SetContextMenu(oMenu, symBandTB) CLASS SEToolBar




The contextmenu object. If oMenu is NIL or not defined a former assigned context menu becomes deleted.


The symbolic name of the band (or toolbar), whose contextmenu will be set. If symBandTB is Null_Symbol or not defined, the default contextmenu for the complete rebar control is set. If the toolbar is no rebar, this parameter is not used.





oToolBar:SetContextMenu(RebarContextMenu{}) Sets the default contextmenu for the complete rebar control.


oToolBar:SetContextMenu(BandContextMenu{}, #Maintoolbar) Set a band contextmenu for the band with the name #Maintoolbar.