﻿<?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?)  » Browse Dialog</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sat, 19 Sep 2026 18:55:42 GMT</lastBuildDate><ttl>20</ttl><item><title>Browse Dialog</title><link>http://forum.strataframe.net/FindPost24989.aspx</link><description>I've started to use the Browse Dialog and its working fine.&lt;/P&gt;&lt;P&gt;Can the following be done:&lt;/P&gt;&lt;P&gt;1. On the form in which the Browse Button is , I have&amp;nbsp; a Text Box&lt;/P&gt;&lt;P&gt;2. I want the user to enter Text in here&lt;/P&gt;&lt;P&gt;3. Then Call the Browse Dialog (With the TextBox.Text as a parameter) and get it to do the search, so that the results browse is displayed&lt;/P&gt;&lt;P&gt;(In other words , I want the user to be able to enter the text to be searched on the Calling screen rather than the Browse Screen and get the&amp;nbsp; Search done right away)</description><pubDate>Mon, 26 Oct 2009 17:19:57 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: Browse Dialog</title><link>http://forum.strataframe.net/FindPost25001.aspx</link><description>Ah...I will file that in the back of my mind for next time ;)  Glad it worked! :)</description><pubDate>Mon, 26 Oct 2009 17:19:57 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Browse Dialog</title><link>http://forum.strataframe.net/FindPost24996.aspx</link><description>Hi Trent.&lt;/P&gt;&lt;P&gt;That has worked great... I use C# but was able to translate the code.&lt;/P&gt;&lt;P&gt;Many thanks</description><pubDate>Mon, 26 Oct 2009 12:24:17 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: Browse Dialog</title><link>http://forum.strataframe.net/FindPost24990.aspx</link><description>Yes.  First, you can manually launch the browse dialog by calling the "ShowDialog()" on the browse dialog class.  Second, you can initialize search values a number of ways.  But in this case, I would just use the InitialValue property in the SearchFields collections.  So to combine the two and force the search to happen automatically, you would do this:&lt;br&gt;
&lt;br&gt;
[codesnippet]Me.BrowseDialog1.SearchFields("FieldName").InitialValue = "MySearchValue"&lt;br&gt;
Me.BrowseDialog1.ShowDialog(True)[/codesnippet]&lt;br&gt;
&lt;br&gt;
From what I recall, you were using VB.NET.  If not let me know and I can post a C# sample if necessary.&lt;br&gt;</description><pubDate>Mon, 26 Oct 2009 08:11:19 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>