Search found 40 matches: colatpos

Return to advanced search

Re: xbrowse command not working properly -- MR. RAO

... array access Args: [ 1] = A {TXBRWCOLUMN,TXBRWCOLUMN} length: 2 [ 2] = U Stack Calls =========== Called from: source\xbrowse.prg => TXBROWSE:COLATPOS( 4544 ) Called from: source\xbrowse.prg => (b)TXBROWSE( 709 ) Called from: source\xbrowse.prg => TXBROWSE:SELECTEDCOL( 0 ) Called from: ...
by Compuin
Wed Feb 23, 2022 5:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse command not working properly -- MR. RAO
Replies: 21
Views: 1384

XBrowse: error in LastDisplayPos() method [Solved]

I get error doing oBrw:InsCol( nPos ). This is the line from xbrowse.prg: nWidth += ::ColAtPos( nPos++ ):nWidth + COL_SEPARATOR And this is the error message:   Error description: Error BASE/1081  Argument error: +   Args:     [   1] = U        [ ...
by Enrico Maria Giordano
Thu Nov 05, 2020 9:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: error in LastDisplayPos() method [Solved]
Replies: 4
Views: 550

Re: XBrowse 16.04 : Gets in Header Bar

... / ::nRowHeight ) + 1 end 4. method paint() class txbrowse if ::lgetbar for nFor := 1 to nLast if aCols[ nFor ] > nBrwWidth exit endif oCol := ::ColAtPos( nFor ) oCol:PaintData( nRow-::nrowheight*2, aCols[ nFor ], nHeight, lHighLite, .t., nFor, -1 ) oCol:PaintData( nRow-::nrowheight, aCols[ nFor ...
by ShumingWang
Mon Sep 05, 2016 9:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse 16.04 : Gets in Header Bar
Replies: 34
Views: 10021

Re: errores de xbrowse ??? NO SOLUCIONADO ??? AYUDA

... =========== Called from: => LEN( 0 ) Called from: source\classes\xbrowse.prg => (b)TXBROWSE:TXBROWSE( 566 ) Called from: => TXBROWSE:COLATPOS( 0 ) Called from: source\classes\xbrowse.prg => (b)TXBROWSE:TXBROWSE( 568 ) Called from: => TXBROWSE:SELECTEDCOL( 0 ) Called from: source\classes\xbrowse.prg ...
by russimicro
Thu Feb 12, 2015 5:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: errores de xbrowse ??? NO SOLUCIONADO ??? AYUDA
Replies: 8
Views: 2283

Re: Error en Xbrowse

Adhemar, no se me soluciona con eso... El problema es que en el Método IsDisplayPosVisible() de la clase xBrowse, en ésta línea, nWidth += ::ColAtPos( nPos ):nWidth + COL_SEPARATOR ----> ::ColAtPos( nPos ):nWidth es NIL entonces produce el error, lo mismo pasa en el método LastDisplayPos(), ...
by TOTOVIOTTI
Tue Nov 25, 2014 11:21 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en Xbrowse
Replies: 21
Views: 3979

Re: Error en Xbrowse

Roberto,

Si el error es en la línea 2148 el código es este en xbrowse.prg:

nWidth += ::ColAtPos( nPos ):nWidth + COL_SEPARATOR

revisando por que da error...
by Antonio Linares
Fri Nov 21, 2014 12:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en Xbrowse
Replies: 21
Views: 3979

XBROWSE : SortArrayData (FWH1402)

Hello, FWH1402 fails when setarray is called , followed with SelectedCol() , ColAtPos() , .... (uses ::aDisplay) ::aDisplay is not set anymore. Placing some trace's in method setarray , i found that aDisplay was set in SortarrayData , in FWH1303 we see as last ...
by Franklin Demont
Fri Apr 25, 2014 9:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : SortArrayData (FWH1402)
Replies: 2
Views: 593

Re: XBrowse Multi Line Cell With Different Fonts

... Calls =========== Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE( 529 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:COLATPOS( 0 ) Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE( 531 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:SELECTEDCOL( ...
by cnavarro
Tue Sep 17, 2013 6:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Multi Line Cell With Different Fonts
Replies: 19
Views: 6087

Re: XBrowse Multi Line Cell With Different Fonts

... you the number of visible column in the window. There could be some hidden columns or columns to the left of the visible area. We should take oBrw:ColAtPos( MouseColPos( nCol ) ) Instead we better take oBrw:SelectedCol().
by nageswaragunupudi
Mon Sep 16, 2013 5:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Multi Line Cell With Different Fonts
Replies: 19
Views: 6087

XBROWSE : LEN(::aDisplay)==0 AGAIN !

Hello, Xbrowse gives again an error that also in the past was a problem. Executing : METHOD ColAtPos( nPos ) INLINE ::aCols[ ::aDisplay[ MinMax( If( nPos == nil .or. nPos == 0, 1, nPos ), 1, Len( ::aDisplay ) ) ] ] I have a error while LEN(::aDisplay) == 0 The aplication ...
by Franklin Demont
Thu Feb 21, 2013 9:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : LEN(::aDisplay)==0 AGAIN !
Replies: 3
Views: 968

XBROWSE con array

... Args: [ 1] = A { ... } [ 2] = N 0 Stack Calls =========== Called from: XBROWSE.PRG => (b)TXBROWSE:TXBROWSE(499) Called from: => TXBROWSE:COLATPOS(0) Called from: XBROWSE.PRG => (b)TXBROWSE:TXBROWSE(501) Called from: => TXBROWSE:SELECTEDCOL(0) Called from: XBROWSE.PRG => TXBROWSE:PAINT(1223) ...
by FranciscoA
Wed Mar 28, 2012 9:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE con array
Replies: 8
Views: 2320

Re: xbrowse : sporadic error

... error list : Called from: \MCLS\HENWIN8.10\fwh8.10\changed\ChangedSource\xbrowse.prg => (b)TXBROWSE:TXBROWSE(396) Called from: => TXBROWSE:COLATPOS(0) Called from: \MCLS\HENWIN8.10\fwh8.10\changed\ChangedSource\xbrowse.prg => TXBROWSE:PAINT(996) Called from: \MCLS\HENWIN8.10\fwh8.10\changed\ChangedSource\xbrowse.prg ...
by Demont Brecht
Mon Nov 07, 2011 7:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse : sporadic error
Replies: 19
Views: 4174

Re: xbrowse : sporadic error

Antonio, /* METHOD ColAtPos( nPos ) INLINE ::aCols[ ::aDisplay[ MinMax( If( nPos == nil, 1, nPos ), 1, Max( Len( ::aDisplay ), 1 ) ) ] ] */ I don't believe it will solve the problem , the real problem is that for some reason ::aDisplay ...
by Demont Brecht
Sun Nov 06, 2011 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse : sporadic error
Replies: 19
Views: 4174

Re: xbrowse : sporadic error

Demont,

Please try it this way:

METHOD ColAtPos( nPos ) INLINE ::aCols[ ::aDisplay[ MinMax( If( nPos == nil, 1, nPos ), 1, Max( Len( ::aDisplay ), 1 ) ) ] ]
by Antonio Linares
Sun Nov 06, 2011 2:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse : sporadic error
Replies: 19
Views: 4174

xbrowse : sporadic error

Hello, In a intensive used aplication i got sporadic (4 errors in 2 years) , at line 396 : METHOD ColAtPos( nPos ) INLINE ::aCols[ ::aDisplay[ MinMax( If( nPos == nil, 1, nPos ), 1, Len( ::aDisplay ) ) ] ] With : #xtranslate MinMax( <xValue>, <nMin>, <nMax> ...
by Demont Brecht
Sun Nov 06, 2011 10:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse : sporadic error
Replies: 19
Views: 4174
Next

Return to advanced search