Help understanding BrowseDialog inheritance


Author
Message
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
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

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Edhy Rijo - 15 Years Ago
Edhy Rijo - 15 Years Ago
Trent L. Taylor - 15 Years Ago
Edhy Rijo - 15 Years Ago
Trent L. Taylor - 15 Years Ago
                         [quote][b]Trent L. Taylor (08/04/2009)[/b][hr]In fact, you may want to...
Edhy Rijo - 15 Years Ago
                             [quote]Is there a way to overcome this, other than have a BD for each...
Trent L. Taylor - 15 Years Ago
                                 Hi Trent,

I am setting up a simple sample that will show...
Edhy Rijo - 15 Years Ago
                                     Hi Trent,

Attached please find the requested Sample. It is...
Edhy Rijo - 15 Years Ago
                                         Ok, you can take several routes on this, but here is my suggestion and...
Trent L. Taylor - 15 Years Ago
                                             Thanks a lot Trent, that is exactly the type of control I want to have...
Edhy Rijo - 15 Years Ago
                                                 Edhy,

Keep this one thing in mind and it should make things...
Trent L. Taylor - 15 Years Ago
                                                     [quote][b]Trent L. Taylor (08/10/2009)[/b][hr]Edhy, keep this one...
Edhy Rijo - 15 Years Ago
                                                         No problem...Glad to help! :)
Trent L. Taylor - 15 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search