I am trying to have a "Ribbon" type switchboard form (frm0) that will stay open all the time until the user closes the database. This form has buttons (Actually Labels acting as buttons) to open other forms. I'm trying to get the buttons on the switchboard to change color to match the form that is currently active but I'm having a little trouble. I've attached a sample database to illustrate.
For instance, if the user clicks FORM 1, then clicks FORM 2, then all is fine. frm2 is displayed and FORM 2 button is shown in color. But if the user closes frm2, then the user will see frm1 again, but the corresponding FORM 1 button does not highlight until the user clicks that frm1 and brings it into focus.
Is there anyway to make the previous frm1 go back into focus without having to make the switchboard a popup form? Basically, I want the top most form (other than frm0) to automatically get focus.
Thanks
For instance, if the user clicks FORM 1, then clicks FORM 2, then all is fine. frm2 is displayed and FORM 2 button is shown in color. But if the user closes frm2, then the user will see frm1 again, but the corresponding FORM 1 button does not highlight until the user clicks that frm1 and brings it into focus.
Is there anyway to make the previous frm1 go back into focus without having to make the switchboard a popup form? Basically, I want the top most form (other than frm0) to automatically get focus.
Thanks
Attachments
Last edited: