If column is already set to 2 (Col.), you can just use arrow keys (up/down) to browse results. Otherwise you must first select column by clicking with mouse. And if you select column 3 (Text), then column 0 (File) is not visible while browsing. Also selecting column 1 (Line), cause browsing stuck if there are two results in same line. And by stuck I mean need to select next row with mouse to continue browsing with arrow keys.
Jussi 2010/11/7 Benoît Minisini <[email protected]> > > gvwFind.Column = 2 would be more convenient as search string can be > found > > multiple times from same line. > > > > Jussi > > > > On Fri, Oct 15, 2010 at 18:01, Jussi Lahtinen > <[email protected]>wrote: > > > Hi! > > > Way to reproduce the problem: > > > 1. Open search window > > > 2. type some word for search > > > 3. click browse > > > 4. press arrow key to right or left > > > > > > Reason: > > > If gvwFind is not in focus, it has no current row, ie gvwFind.Row = -1. > > > Crash when; > > > hFind = $aBrowse[gvwFind.Row] > > > @ Public Sub gvwFind_Select() > > > > > > Suggestion: > > > Add following code to Sub gvwFind_Select. > > > > > > If gvwFind.Row = -1 Then > > > gvwFind.Row = 0 ' Prevents crash. > > > gvwFind.Column = 1 ' Makes browsing with arrow keys smoother. > > > Endif > > > > > > Gambas 3 rev 3265 @Ubuntu 10.04 64bit > > > > > > Jussi > > > > Thanks for the fix. I don't understand the need of setting gvwFind.Column, > so > I don't take that at the moment. > > Regards, > > -- > Benoît Minisini > > > ------------------------------------------------------------------------------ > The Next 800 Companies to Lead America's Growth: New Video Whitepaper > David G. Thomson, author of the best-selling book "Blueprint to a > Billion" shares his insights and actions to help propel your > business during the next growth cycle. Listen Now! > http://p.sf.net/sfu/SAP-dev2dev > _______________________________________________ > Gambas-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
