You can't enable or disable menu-items. Instead, you need to create 2 menu-buttons with a different set of menu-items. Then you can hide one menu-button, and make the other visible.
No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
Comments
One menuitem have source expr bool1
Another bool2
On first menuotem triger OnPush:
bool1 := not bool1;
bool2 := bool1;
This is dependences
Then they'll be set enabled or what'll happen?
I don't know - what dependences you want to do
I want to DISABLE the menuitem.