﻿<?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?)  » BrowseDialog Incremental Search possible?</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 02:19:13 GMT</lastBuildDate><ttl>20</ttl><item><title>BrowseDialog Incremental Search possible?</title><link>http://forum.strataframe.net/FindPost9418.aspx</link><description>Can we set the BD so that it shows the closest matches in the results window as the user types out of the box?&lt;br&gt;
&lt;br&gt;
If not how might I implement this?&lt;br&gt;
&lt;br&gt;
Thanks.</description><pubDate>Thu, 30 Jul 2009 08:59:53 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: BrowseDialog Incremental Search possible?</title><link>http://forum.strataframe.net/FindPost24008.aspx</link><description>Thanks Trent, that is a very good enhancement.</description><pubDate>Thu, 30 Jul 2009 08:59:53 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: BrowseDialog Incremental Search possible?</title><link>http://forum.strataframe.net/FindPost24007.aspx</link><description>Actually the BrowseDialogWindowReference object is how you can get to every object within the browse &amp;#119;indow.  However, I went ahead and added a property on this exposed object giving direct access to the browse results list.  After that, you just call the FindTextItem method to produce an incremental search.  Here is the write-up that will appear in the help, but I will do another build later today or tomorrow that will include this for you.&lt;br&gt;
&lt;br&gt;
[quote]The BrowseDialogWindowReference has been available within the framework for a long time.  However, it was a little cumbersome to get directly to the browse results list view which was the most common object that was sought after via this reference.  A new property called BrowseResultsListView has been added to the exposed BrowseDialogWindowReference allowing much easier access to this list.&lt;br&gt;
[/quote]</description><pubDate>Thu, 30 Jul 2009 08:52:57 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BrowseDialog Incremental Search possible?</title><link>http://forum.strataframe.net/FindPost23992.aspx</link><description>[quote][b]One of the features is that the Infopanel provides access to the BrowseDialogForm as well as the BrowseDialog control.&amp;nbsp; The results are shown in a ListView which already has an Incremental search ability that you can take advantage of.&amp;nbsp; Just add you an InfoPanel that has the text box then manually execute the incremental search on the populated results list and there you go.[/quote]&lt;/P&gt;&lt;P&gt;Did this ever make it in? Is it documented anywhere? My user wants the textbox to incrementally search the results list exactly as you described. I have the InfoPanel withthe textbox, now I am lost.&lt;/P&gt;&lt;P&gt;Also, how to I programatically execute the search, I found the "Search" method in the class browser but could not figure out how to use it just from that. User wants the results list prepopulated.&lt;/P&gt;&lt;P&gt;Thanks</description><pubDate>Wed, 29 Jul 2009 17:13:26 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: BrowseDialog Incremental Search possible?</title><link>http://forum.strataframe.net/FindPost23492.aspx</link><description>Cool...looks good :)</description><pubDate>Mon, 15 Jun 2009 06:59:44 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BrowseDialog Incremental Search possible?</title><link>http://forum.strataframe.net/FindPost23482.aspx</link><description>Hi Trent,&lt;br&gt;
&lt;br&gt;
Once again, thanks for the heads up on this one, it was really easy to implement and here is what I did:&lt;br&gt;
&lt;br&gt;
[codesnippet][code]&lt;br&gt;
 Private Sub StartSerialIncrementalSearch(ByVal startSerialNumber As Integer)&lt;br&gt;
        Dim item1 As ListViewItem = Me.lstItemsStock.FindItemWithText(startSerialNumber.ToString, True, 0)&lt;br&gt;
        If item1 IsNot Nothing Then&lt;br&gt;
            item1.Selected = True&lt;br&gt;
            Me.lstItemsStock.EnsureVisible(item1.Index)&lt;br&gt;
            Me.lstItemsStock.TopItem = item1&lt;br&gt;
        End If&lt;br&gt;
    End Sub&lt;br&gt;
[/code][/codesnippet]</description><pubDate>Fri, 12 Jun 2009 15:28:11 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: BrowseDialog Incremental Search possible?</title><link>http://forum.strataframe.net/FindPost23473.aspx</link><description>Thanks a lot, will start looking at those methods.</description><pubDate>Fri, 12 Jun 2009 09:25:57 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: BrowseDialog Incremental Search possible?</title><link>http://forum.strataframe.net/FindPost23469.aspx</link><description>Yes, but you will have to drop on a text box and then write the call the search yourself.  There are two methods on a ListView that support this.  You can call the FindNearestItem method or the FindItemWithText method.  This should get you what you are looking for.</description><pubDate>Fri, 12 Jun 2009 09:13:19 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BrowseDialog Incremental Search possible?</title><link>http://forum.strataframe.net/FindPost23454.aspx</link><description>[quote][b]Trent L. Taylor (06/07/2007)[/b][hr]In version 1.6.1 we have made a LOT of changes to the BD to give you a lot more functionality and control. One of the features is that the Infopanel provides access to the BrowseDialogForm as well as the BrowseDialog control. The results are shown in a ListView which already has an Incremental search ability that you can take advantage of. Just add you an InfoPanel that has the text box then manually execute the incremental search on the populated results list and there you go. :)&lt;br&gt;
[/quote]&lt;br&gt;
&lt;br&gt;
Hi Trent,&lt;br&gt;
&lt;br&gt;
Is there a way to do an incremental search in the current listview control on a winform?</description><pubDate>Wed, 10 Jun 2009 12:59:15 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: BrowseDialog Incremental Search possible?</title><link>http://forum.strataframe.net/FindPost9423.aspx</link><description>OK great thanks.&lt;br&gt;
&lt;br&gt;
I was going to plumb it myself, but I can wait a week :)</description><pubDate>Thu, 07 Jun 2007 17:02:24 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: BrowseDialog Incremental Search possible?</title><link>http://forum.strataframe.net/FindPost9421.aspx</link><description>In version 1.6.1 we have made a LOT of changes to the BD to give you a lot more functionality and control.&amp;nbsp; One of the features is that the Infopanel provides access to the BrowseDialogForm as well as the BrowseDialog control.&amp;nbsp; The results are shown in a ListView which already has an Incremental search ability that you can take advantage of.&amp;nbsp; Just add you an InfoPanel that has the text box then manually execute the incremental search on the populated results list and there you go. :)&lt;/P&gt;&lt;P&gt;Before you ask....maybe by the end of next week worst case the following week ;)</description><pubDate>Thu, 07 Jun 2007 16:15:41 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>