﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Inherited BrowseDialog</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 08 Sep 2026 12:44:17 GMT</lastBuildDate><ttl>20</ttl><item><title>Inherited BrowseDialog</title><link>http://forum.strataframe.net/FindPost26688.aspx</link><description>Hi all,&lt;br&gt;
&lt;br&gt;
I have done a base BrowseDialog for my application inherited from MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog. I have created the partial class MyBrowseDialog.cs and the MyBrowseDialog.Designer.cs file in order to use the Visual Studio designer to set properties on my BrowserDialog (I have copied the structure from the StrataFlix Sample). This works fine and I can set all properties using the property tab from Visual Studio.&lt;br&gt;
&lt;br&gt;
No I have inherited from MyBrowseDialog (same as above creating the TestBrowseDialog.cs and TestBrowseDialog.Designer.cs file inherited from MyBrowseDialog), but my problem is now that I cannot set some properties using the Visual Studio property tab. For example, when I put the BusinessObjectType property, it's not in "Bold" in the property window, and no code is generated in the Designer.cs file. For other properties like ReturnSelectedRecordOnly it works well.&lt;br&gt;
&lt;br&gt;
What I'm doing wrong?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Alex B.&lt;br&gt;</description><pubDate>Thu, 01 Apr 2010 06:57:42 GMT</pubDate><dc:creator>Alex Bibiano González</dc:creator></item><item><title>RE: Inherited BrowseDialog</title><link>http://forum.strataframe.net/FindPost26719.aspx</link><description>Glad it worked Alex.&lt;/P&gt;&lt;P&gt;Not sure about the docs, I just remembered I went through the same thing and got the code from my application for you.</description><pubDate>Thu, 01 Apr 2010 06:57:42 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Inherited BrowseDialog</title><link>http://forum.strataframe.net/FindPost26706.aspx</link><description>A lot of thanks. It work's.&lt;br&gt;
&lt;br&gt;
Is this somwhere documented?&lt;br&gt;
&lt;br&gt;
Alex B.</description><pubDate>Wed, 31 Mar 2010 05:29:43 GMT</pubDate><dc:creator>Alex Bibiano González</dc:creator></item><item><title>RE: Inherited BrowseDialog</title><link>http://forum.strataframe.net/FindPost26694.aspx</link><description>Hi Alex.&lt;P&gt;Try overriding the IsInheritedBrowseDialog function:&lt;/P&gt;&lt;P&gt;[codesnippet]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' Overrided so to be able to have a Base Browse Dialog&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;/summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Protected Overrides Function IsInheritedBrowseDialog() As Boolean&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- Establish locals&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim llReturn As Boolean = False&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- Determine if this is an inherited form&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Me.GetType().IsSubclassOf(GetType(_BaseBrowseDialog)) Then&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- This is an inherited class&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; llReturn = True&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- Return the value&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return llReturn&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Function&lt;BR&gt;[/codesnippet]</description><pubDate>Tue, 30 Mar 2010 11:41:48 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>