I want to enable and disable menu items dynamically based on the value set in the table. Meaning, I have 2 column table (first column with string menu item name (m_menu.m_item) and second column with string ('Y'/'N'))
I want to get this to work on the Open event of the window:
For e.g
Get the values from the table
IF 'Y' THEN m_menu.m_item.Enabled = TRUE
Can someone help me with this..sample code to enable/disble menu item based in the table would be nice. Thanks in advance.
I want to get this to work on the Open event of the window:
For e.g
Get the values from the table
IF 'Y' THEN m_menu.m_item.Enabled = TRUE
Can someone help me with this..sample code to enable/disble menu item based in the table would be nice. Thanks in advance.