good day
i have created a pagecontrol with 4 tabsheets and basically need each tab sheet to show a different set of components. i obviously have my main form and i have created another form with the components that i need to appear in tabsheet1 , how will i go about this?
thanking you in advance.
Comments
:
: i have created a pagecontrol with 4 tabsheets and basically need
: each tab sheet to show a different set of components. i obviously
: have my main form and i have created another form with the
: components that i need to appear in tabsheet1 , how will i go about
: this?
:
: thanking you in advance.
:
:
:
:
There are 2 ways depending on what you need for the other form:
- If the other form is not necessary as a separate window, copy-paste all its components onto the tabsheet
- Otherwise: in the constructor of your mainform, add the other form to the tabsheet using the add() method, and set the Align or Anchors in the code.