DEFINE PAD padTest OF _MSYSMENU PROMPT "Test" ON PAD padTest OF _MSYSMENU ACTIVATE POPUP popTest DEFINE POPUP popTest MARGIN RELATIVE COLOR SCHEME 4 DEFINE BAR 1 OF popTest PROMPT '\<One' DEFINE BAR 2 OF popTest PROMPT '\<Two' DEFINE BAR 3 OF popTest PROMPT 'T\<hree' DEFINE BAR 4 OF popTest PROMPT '\<Four' FOR i = 1 TO CNTBAR('popTest') IF PRMBAR('popTest', i) = 'Two' RELEASE BAR (i) OF popTest ENDIF ENDFOR>I want to remove an item from a menu. I am using Release Bar syntax as:
>RELEASE BAR nMenuItemNumber of MenuName >>