I have an MDI app in Delphi 5 and through necessity have a TTabSet component on the parent form.
When the first new child window is created a new 'Untitled' tab appears correctly with focus, but when subsequent child windows are created the named tab appears, but the first one retains focus. I can't for the life of me figure out how to make the new tab have focus.
Also related is the fact that I can't figure out how to set the focus on the correct tab when a child window is selected. No doubt that the answer to the first problem will also solve the second.
Thanks for any advice in advance...
Barrie
When the first new child window is created a new 'Untitled' tab appears correctly with focus, but when subsequent child windows are created the named tab appears, but the first one retains focus. I can't for the life of me figure out how to make the new tab have focus.
Also related is the fact that I can't figure out how to set the focus on the correct tab when a child window is selected. No doubt that the answer to the first problem will also solve the second.
Thanks for any advice in advance...
Barrie