chris.fair
New member
- Joined
- Oct 12, 2005
- Messages
- 1
- Programming Experience
- Beginner
I am a student programmer following examples in the book "Programming in Visual Basic .NET" by Bradley and Millspaugh. In chapter 6 we start OOP.
I am using Visual Studio 2003 and am in a VB.Net project.
I have created a baseForm which I used to create several other
inherited forms. On the baseForm is one label and a button.
In one of the inherited forms, lets call it mainForm, I have added many
objects using design view. I added menu items, labels and textboxes. I
also changed some of the properties of the form; for instance I set the
Text property to reflect the title I wanted the new form to display.
After this I double clicked on the mainForm to enter the code view so I
could code the button in the baseForm as Visible=False when the
mainForm loaded.
This is where I run into trouble. When I go back to design view for
mainForm I see that all the objects I have made are gone from view and
that the properties I set on the form have reverted back to the
properties of the baseForm.
When I go to Object Browser I can see my objects are still listed under
the mainForm, I just cannot see them in design view. How do I get these
to stay where I put them and how do I stop the inherited form from
reverting back to the base form properties?
Thanks for your help, this is driving me crazy.
Chris
I am using Visual Studio 2003 and am in a VB.Net project.
I have created a baseForm which I used to create several other
inherited forms. On the baseForm is one label and a button.
In one of the inherited forms, lets call it mainForm, I have added many
objects using design view. I added menu items, labels and textboxes. I
also changed some of the properties of the form; for instance I set the
Text property to reflect the title I wanted the new form to display.
After this I double clicked on the mainForm to enter the code view so I
could code the button in the baseForm as Visible=False when the
mainForm loaded.
This is where I run into trouble. When I go back to design view for
mainForm I see that all the objects I have made are gone from view and
that the properties I set on the form have reverted back to the
properties of the baseForm.
When I go to Object Browser I can see my objects are still listed under
the mainForm, I just cannot see them in design view. How do I get these
to stay where I put them and how do I stop the inherited form from
reverting back to the base form properties?
Thanks for your help, this is driving me crazy.
Chris