PDA

View Full Version : Menu Item Disable Help


mz241508
03-26-2007, 03:50 PM
How do i set a Menubar item disabled?

I used this code at startup and works perfectly:
function g_OnUpdateMenuEnabled(CommandID,tblInfo)
if (CommandID == 21) then
return false;
else
return true;
end
end

but i use it again on On Show event on either Page1/2, it seems to disable all menubar items?!

Can some help me!:huh

RizlaUK
03-26-2007, 03:53 PM
here, this might help

http://www.indigorose.com/forums/showthread.php?t=13244&highlight=disable+menu+item

mz241508
03-27-2007, 10:23 AM
Thanks! :yes