xBrowse - bug?

xBrowse - bug?

Postby Dietmar Jahnel » Thu May 21, 2009 4:09 pm

I have a databases with just one field

When I move the horizontal thumb to the right I get the following error:

Error description: Error BASE/1132 Bound error: array access
Args:
[ 1] = A { ... }
[ 2] = N 0

Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:TXBROWSE(418)
Called from: => TXBROWSE:COLATPOS(0)
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT(1074)
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:DISPLAY(933)
Called from: .\source\classes\CONTROL.PRG => TXBROWSE:HANDLEEVENT(1423)
Called from: .\source\classes\WINDOW.PRG => _FWH(3333)
Called from: => DIALOGBOXINDIRECT(0)
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE(273)
Called from: .\source\function\ERRSYSW.PRG => ERRORDIALOG(343)
Called from: .\source\function\ERRSYSW.PRG => (b)ERRORSYS(27)
Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:TXBROWSE(418)
Called from: => TXBROWSE:COLATPOS(0)
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT(1074)
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:DISPLAY(933)
Called from: .\source\classes\CONTROL.PRG => TXBROWSE:HANDLEEVENT(1423)
Called from: .\source\classes\WINDOW.PRG => _FWH(3333)
Called from: => DIALOGBOX(0)
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE(273)
Called from: RIDAW.PRG => INDEXLISTE(3324)

Database with two fields: no problem.
I would like to have the horizontal scroll also with one field in case the field content is wider than the dimention of the browse.

Is there a solution?
Dietmar
User avatar
Dietmar Jahnel
 
Posts: 83
Joined: Mon Oct 17, 2005 10:33 am
Location: Austria

Re: xBrowse - bug?

Postby nageswaragunupudi » Thu May 21, 2009 8:22 pm

Yes this is a bug while browsing a single column.
Horizontal scroll is only used by xbrowse for skipping column to column. It is not used for scrolling text in a single wider column. Anyway the horizontal scroll bar does not serve your purpose.

Let us await bug-fix. Till then disable horizontal scroll bar for single column browses
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10624
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 92 guests