Search found 40 matches: colatpos

Return to advanced search

Footer en TXBrowse

... {nRow, 0, nRow + nHeight, nBrwWidth}, ::hBrushRecSel ) // hBrush ) DeleteObject( hBrush ) for nFor := 1 to nLast nCol := aCols[ nFor ] oCol := ::ColAtPos( nFor ) IF !::lFooterColDivider //FranciscoA Ene/01/2009 //Pintar o no divisores de cols en el footer if nFor == 1 nCol := aCols[ nFor ] oCol ...
by FranciscoA
Thu Jan 01, 2009 7:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Footer en TXBrowse
Replies: 1
Views: 517

Xbrowse goright() problem

Hi,
Sometimes, when current col at the left one of the rightmost, press right arrow key, the browse repaints ,gets run time error :

array bound error

call from METHOD ColAtPos( nPos )
call from paint() methd oCol := ::ColAtPos( nFor )

Regards !
Shuming Wang
by ShumingWang
Tue Jun 17, 2008 10:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse goright() problem
Replies: 2
Views: 604

TXBrowse nAt() and nColSel

... circumstances oBrw:nAt() and oBrw:nColSel give different values? Method nAt returns ::ColPos( ::SelectedCol() ) Method SelectedCol() returns ::ColAtPos( ::nColSel ) and in turn ColAtPos( ::nColSel ) returns ::aDisplay[ ::nColSel ] Therefore SelectedCol() returns ::aDisplay[ ::nColSel ] Method ...
by nageswaragunupudi
Mon Jan 14, 2008 12:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TXBrowse nAt() and nColSel
Replies: 1
Views: 540

Share add on xbrowse 3D header codes

... 2 ] ) FillRect( hDC, {nRow, 2, nRow + nHeight, nBrwWidth}, hBrush ) DeleteObject( hBrush ) for nFor := 1 to nLast nCol := aCols[ nFor ] oCol := ::ColAtPos( nFor ) oCol:PaintHeader( nRow, nCol, nHeight ) next // paint space right col header, 2007 look nTop = 0 nBottom = nTop + nHeight nLeft := ...
by ShumingWang
Mon Dec 03, 2007 1:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Share add on xbrowse 3D header codes
Replies: 2
Views: 759

... de scroll son mostradas automáticamente y permite restaurar la posición de las ventanas hijas. * Corrección: En la clase TXBrowse, el método ColAtPos() a veces daba error. Ahora está correcto. * Mejora: En la clase TComboBox, el estilo CBS_DROPDOWN permite saltar al siguiente control, mediante ...
by Antonio Linares
Sun Dec 02, 2007 5:52 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2007 (7.12)
Replies: 1
Views: 2347

New FTDN December/Diciembre 2007 (7.12)

... moved out of the main area, the scrollbars are automatically shown and allow to restore the child windows position. * Fix: Class TXBrowse Method ColAtPos() was giving out of bound errors sometimes. Now it is ok. * Enhancement: Class TComboBox Style CBS_DROPDOWN allows Tab and Return to skip to ...
by Antonio Linares
Sat Dec 01, 2007 10:30 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2007 (7.12)
Replies: 1
Views: 2347

xBrowse : oBrw:ColAtPos(nPos)

Hello, I have a button with as action : ATAIL(oBrw:aCols):Hide() , Prnt(oBrw ) , ATAIL(oBrw:aCols):Show() This give a error in : METHOD ColAtPos( nPos ) INLINE ::aCols[ ::aDisplay[ nPos ] ] LEN(::aDisplay) < LEN(::aCols) while npos == LEN(::aCols) Maybe is better : # xtranslate MinMax(<xValue> ...
by demont frank
Tue Nov 27, 2007 9:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse : oBrw:ColAtPos(nPos)
Replies: 1
Views: 515

Pedro,

Modifica este método en la Clase TXBrowse:

METHOD ColAtPos( nPos ) INLINE ::aCols[ ::aDisplay[ Min( nPos, Len( ::aDisplay ) ) ] ]

No es que sea la solución perfecta, pero funciona :-)
by Antonio Linares
Fri Nov 09, 2007 11:10 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse cambiando columnas de lugar
Replies: 8
Views: 1184

Error en xBrowse

... al Stack ________________________________________________________________________________ Called from (b)TXBROWSE(336) Called from TXBROWSE:COLATPOS(0) Called from TXBROWSE:GORIGHT(1588) Called from TXBROWSE:KEYDOWN(1380) Called from TWINDOW:HANDLEEVENT(0) Called from TXBROWSE:HANDLEEVENT(1360) ...
by Ruben D. Fernandez
Sat Sep 15, 2007 3:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en xBrowse
Replies: 1
Views: 649

Marco,

Try this:

oBrw:ColAtPos( oBrw:nColSel ):nCreationOrder
by Antonio Linares
Fri May 11, 2007 6:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse and current column
Replies: 1
Views: 590
Previous

Return to advanced search