Visual Inheritance


Author
Message
Thomas Holste
Thomas Holste
StrataFrame User (360 reputation)StrataFrame User (360 reputation)StrataFrame User (360 reputation)StrataFrame User (360 reputation)StrataFrame User (360 reputation)StrataFrame User (360 reputation)StrataFrame User (360 reputation)StrataFrame User (360 reputation)StrataFrame User (360 reputation)
Group: StrataFrame Users
Posts: 144, Visits: 618
Hi There,

for a larger project I have set up some base-classes but I am coming to the point

where I don't know what to do.

I have build a base form class (mystdFRM) which is a strataframeform with some additional properties and a themed panel.

From this class I build a new class (mysingledatafrm) which has some methods for datahandling and a themed toolstrip with three buttons added (Save,Undo,Exit).

I use this form for simple data-entry like parameter setup or editing data based on a single BO.

So far everything works fine, but what I can't accomplish is to change controls derived from my base-class. For example, if I would like to add a fourth button to a form derived from mysingledatafrm (the one with the toolstrip on it), I can not modify the control, something I could do in VFP.

I found some articles explaining that I should change the modifiers of these controls to "protected friend" but this does not help.

Can anybody tell me, how or if this can be done (VB.NET/VS2010?

Thanks in advance

Thomas
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search