How do i set a Menubar item disabled?
I used this code at startup and works perfectly:
but i use it again on On Show event on either Page1/2, it seems to disable all menubar items?!function g_OnUpdateMenuEnabled(CommandID,tblInfo)
if (CommandID == 21) then
return false;
else
return true;
end
end
Can some help me!![]()

