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
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