Now to create tabs during runtime

Mar 3 2023 11:53 AM

I have a Form1 form with a File menu with items

    New Tab
    New
    Open
    Print
    Exit

On the Form1, I have a tab with initially one tab displayed. The tab has 2 buttons.

When I click New Tab from the menu I want to duplicate the whole tab with the two buttons and open a new tab with focus to it.

How to do it.


Answers (7)