Hi guys,

I have setup a form (frmParent) that contains 1 TableLayoutPanel with 1 col & 2 rows. In the first row i put a DataGridView and on second row i put a Button. I set all controls' modifiers to Public. Then add a form (frmChild) that inherit from frmMaster.

The problem is all the controls become locked. I cannot change any property of the controls. How to make the controls on frmChild editable (change its properties) in IDE?

Oh btw i'm using VB in VS 2008. Please help me...
TIA

Recommended Answers

All 2 Replies

The purpose of inherits is code reuse. Therefore you can't change anything from an inherited form. You can add to it but no changes allowed.

The problem is all the controls become locked.

it's a nice question... I would like to know to...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.