I've created a MDI application using the Borland C++ Wizard. I've added my own toolbuttons, but i want to enable/disable them when they are in use.
So when there is no child form on screen i want eg. the save button to be disabled, but enabled when 1 or more child forms are on screen. I tried enabling the buttons when a child form is loaded, then disabled the buttons in the OnClose function of the Child form. This worked, however if i have multiple child forms open and i close one, then all the toolbar buttons are disabled, even though there is other child forms still on screen.
Any help would be very, very grateful as i'm close to my deadline date, and would like to have all the little bits tidyed up and perfect.
Thanks in advance for any help!!