ming ng Posted October 22, 2016 Posted October 22, 2016 Hi I am creating an MDI App. I have several MDI Children forms and one of them is to be ShowModal. After ShowModal of that form, the main menu was still active, is there a simple way to disable the menu by simple code like: UniMainMenu1.Disable? Currently I have to work around it by creating two procedures to enable / disable each menu item separately. Before I show modal, I call the "Disable All Menu Items" procedure, then at the Callback of ShowModal(CallBack), I call the "Enable All Menu Items". I hope there is a simpler way to do this. Anybody knows about it can you please advise? Many thanks. Best Regards Ming Ng Quote
Administrators Farshad Mohajeri Posted October 22, 2016 Administrators Posted October 22, 2016 Each menu item is a separate component so should be enabled/disabled separately. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.