[Gambas-user] IDE crash with browse

Jussi Lahtinen jussi.lahtinen at ...626...
Fri Oct 15 18:26:51 CEST 2010


 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 <jussi.lahtinen at ...626...>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
>



More information about the User mailing list