StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
How do I create a user control to use some label and textbox on...
How do I create a user control to use some label and textbox on multiple forms
Post Reply
Like
1
How do I create a user control to use some label and textbox on...
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Fabian R Silva, -
Fabian R Silva, -
posted 12 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 153,
Visits: 1.2K
I have to use 3 label and 3 textboxes on all my forms (audit / show user and date in a CRUD of Add/Edit/Logical delete)
I see that if I put some textboxes on a usercontrol with public access I can set all of the properties on the form
the problem is that when I drop the SF textbox controls on a user control a message say that it not implement a IBusinessbindlable interfase
what is the best approach to have a user control that I can drop on all my forms, this usercontrol have some textboxes and I have to set only the form businessobjects that those textboxes need?
I hope that my question be understand (sorry for me bad english).
thanks in advance.
Tags
IBusinessBindeable
UI
usercontrol
Reply
Like
1
Ivan George Borges
Ivan George Borges
posted 12 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame MVPs
Posts: 1.9K,
Visits: 21K
Hi Fabian.
Here are some links on the subject to get you started:
http://forum.strataframe.net/FindPost7235.aspx
http://forum.strataframe.net/FindPost5632.aspx
http://forum.strataframe.net/FindPost8964.aspx
Hope it helps.
Reply
Like
1
Fabian R Silva, -
Fabian R Silva, -
posted 12 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 153,
Visits: 1.2K
thanks for reply Ivan, yesterday I found the post
http://forum.strataframe.net/Topic17845.aspx
and using the example I ended with a working User Control, basically the idea was to put a property "BusinessObject" on the user control that assigns to all the strataframe controls on this user control the selected BO and all worked ok
thanks.
Tags
binding
businesslayerbase
businessobject
user control
usercontrol
Reply
Like
1
Ivan George Borges
Ivan George Borges
posted 12 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame MVPs
Posts: 1.9K,
Visits: 21K
Glad you got it going, Fabian.
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search