FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse - bug?
Posts: 83
Joined: Mon Oct 17, 2005 10:33 AM
xBrowse - bug?
Posted: Thu May 21, 2009 04: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

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xBrowse - bug?
Posted: Thu May 21, 2009 08: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

Continue the discussion