How To…Hide DADE Menu Items

Question

“How do I hide some or all of the menu items for the Data Tab?”

Solution

Check to see that the user has the data tab active in the TabChanged event and typecast the Designer.Menu.Items property as a Data menu object to access the menu items.

Download: HideDataMenuItems.zip

Sample Delphi code: