StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
Help understanding BrowseDialog inheritance
Help understanding BrowseDialog inheritance
Post Reply
Like
1
Help understanding BrowseDialog inheritance
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Edhy Rijo
E
Edhy Rijo
posted 16 Years Ago
ANSWER
HOT
Topic Details
Share Topic
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
I have a base BrowseDialog I want to use in other similar forms that share the same search table but with different fields. Ok I created my base class BDBase and setup all possible search fields in SearchFields property and also setup the BrowseResultsLayout.
So far so good. Now I create another class and inherited from BDBase and in the designer, I removed the fields I don't need from SearchFields and BrowseResultsLayout. When I add an instance of this class in my form, those 2 properties are reset to the default values in BDBase class.
What am I doing wrong? Also is this the correct approach to reuse the BrowseDialog?
Edhy Rijo
Reply
Like
1
Replies
Edhy Rijo
E
Edhy Rijo
posted 16 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Trent L. Taylor (08/10/2009)
Edhy, keep this one thing in mind and it should make things easier...these are just properties, classes, and collections. 100% of the control can be dynamically set and rebuilt to your liking. This is the same thing that is done via the type editors, but in your case, you would just be doing this manually.
Thanks again, Trent. Wow, this is just great to have such control over the BD and opens up a whole new ideas on how to build my applications, very cool things can be done with the BrowseDialog control. Thanks a lot for the sample code.
Edhy Rijo
Reply
Like
2
Trent Taylor
Trent Taylor
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
No problem...Glad to help!
Reply
Like
2
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Help understanding BrowseDialog inheritance
Edhy Rijo
-
16 Years Ago
Hi Trent,
Just in case this message was overlook, please...
Edhy Rijo
-
16 Years Ago
First, let me understand. You are wanting to create a base browse...
Trent L. Taylor
-
16 Years Ago
Well basically I have several forms which use the same Parent Table, I...
Edhy Rijo
-
16 Years Ago
Yeah, in this case you may have to override these properties and then...
Trent L. Taylor
-
16 Years Ago
[quote][b]Trent L. Taylor (08/04/2009)[/b][hr]In fact, you may want to...
Edhy Rijo
-
16 Years Ago
[quote]Is there a way to overcome this, other than have a BD for each...
Trent L. Taylor
-
16 Years Ago
Hi Trent,
I am setting up a simple sample that will show...
Edhy Rijo
-
16 Years Ago
Hi Trent,
Attached please find the requested Sample. It is...
Edhy Rijo
-
16 Years Ago
Ok, you can take several routes on this, but here is my suggestion and...
Trent L. Taylor
-
16 Years Ago
Thanks a lot Trent, that is exactly the type of control I want to have...
Edhy Rijo
-
16 Years Ago
Edhy,
Keep this one thing in mind and it should make things...
Trent L. Taylor
-
16 Years Ago
[quote][b]Trent L. Taylor (08/10/2009)[/b][hr]Edhy, keep this one...
Edhy Rijo
-
16 Years Ago
No problem...Glad to help! :)
Trent L. Taylor
-
16 Years Ago
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