M
Miro
I am starting to think my reason for an inherited form is flawed.
My original concept was this:
Create a form with a panel near the top with a button in the top right
corner, and then a panel in the middle.
( Basically a basic template of all my forms ).
So I created that form and compiled it.
Then I added an inherted form and made it inherit from the orig form.
Now I try to add a button to the main panel and cannot.
So I go back to the main form, change the modifiers from "Friend" to
"Protected" and then recompile and then go back to the designer.
Now I can add buttons to the main panel.
But now I can also resize the main panel, change the main panel, do anything
to the main panel. I wanted the panel to 'hold position',
and make it 'not changable' but still add items ontop of it.
So my initial idea does not work.
It seems I should just create a dummy form in my project, and when I want to
create a new form, just copy it.
As there really is no difference by me setting almost all the items on the
form to be "Protected".
Thanks,
Miro
My original concept was this:
Create a form with a panel near the top with a button in the top right
corner, and then a panel in the middle.
( Basically a basic template of all my forms ).
So I created that form and compiled it.
Then I added an inherted form and made it inherit from the orig form.
Now I try to add a button to the main panel and cannot.
So I go back to the main form, change the modifiers from "Friend" to
"Protected" and then recompile and then go back to the designer.
Now I can add buttons to the main panel.
But now I can also resize the main panel, change the main panel, do anything
to the main panel. I wanted the panel to 'hold position',
and make it 'not changable' but still add items ontop of it.
So my initial idea does not work.
It seems I should just create a dummy form in my project, and when I want to
create a new form, just copy it.
As there really is no difference by me setting almost all the items on the
form to be "Protected".
Thanks,
Miro