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 ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
