ming ng Posted October 22, 2016 Share 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 22, 2016 Administrators Share Posted October 22, 2016 Each menu item is a separate component so should be enabled/disabled separately. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now