Form-Inheritance again


Author
Message
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
You are welcome, Thomas. Wink
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 Ivan,

thank you for your help. That post gives me some new ideas to try.

Best regards

Thomas

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Thomas.

I think this post can help you:

http://forum.strataframe.net/FindPost11487.aspx

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,

after reworking my forms the "inheritance-chain" is working but another problem has come up.

I have

1) A base form which controls some properties and methods. This one is inherited from the strataframe standard form (But it would make no differende it would inherit from a vb-standard form).

2) From this form I inherit (New Item->Inherited form) a form which gets a groupbox and a toolstrip with three buttons (Save,Undo,Exit) and code handling the click-events of the buttons. Let's call it "MySingleDataFRM".

Now I create a new form inherited from "MySingleDataFRM" ("New Item->Inherited Form)and want to modify the toolstrip (I want to change his tab-index for example because I want the first textbox to receive focus when I open the form, but I also think of adding buttons to the toolstrip in some cases).

But this does not work. In CODE-magazine I've read an article which explains to set the modifier of the toolstrip from friend to protected, but this odes not work too.

So my question is how this can be done? I know that I could export "MySingleDataFRM as a template and create new forms from this template but then any changes in "MySingleDataFRM" would not be reflected in already created forms, which happens if I create new forms via "New Item-Inherited Form".

Thanks a lot for your help

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