Using this feature it is possible to disable all menu items, and then, using ibec_EnableFeature, to blend only those in which you wish the user to see. A particularly useful security feature!
function ibec_DisableFeature(FeatureID : integer, FALSE);
execute ibeblock as begin ibec_DisableFeature(0); --disable all ibec_EnableFeature(1003); --enable Tools menu ibec_EnableFeature(2148); --enable menuitem tools-data analysis end
The example above enables only the IBExpert Tools menu item, Data Analysis. The numbers quoted directly after the IBEBlock keyword can be found in the IBExpert Tools menu, Localize IBExpert.