James Bott wrote:Granted it will be easier right now to use the modified TCBrowse, but then you will have to modify each new version of FWH.
I think this is a bug that should be fixed in the standard class.
EMG
James Bott wrote:Granted it will be easier right now to use the modified TCBrowse, but then you will have to modify each new version of FWH.
Any news on how to do this in TWBrowse?
Tx
It works fine using the same technique.
EMG
METHOD DrawLine( nRow ) INLINE ;
wBrwLine( ::hWnd, ::hDC, If( nRow == nil, ::nRowPos, nRow ), ;
Eval( ::bLine, Self ), ::GetColSizes(), ::nColPos,;
::nClrText, ;
iif( valtype( ::nClrPane ) == 'B', eval( ::nClrPane, nRow + ::nRowScrol), ::nClrPane) ,;
If( ::oFont != nil, ::oFont:hFont, 0 ),;
ValType( ::aColSizes ) == "B", ::aJustify, nil, ::nLineStyle,,, ::oVScroll,;
::bLogicLen )nageswaragunupudi wrote:But if some one still insists on modifying the twbrowse.prg ( I personally consider it not worthwhile ) then here is the way:
Only TCBrowse evaluates bClrPane with parameters row number and column number.
TWBrowse evaluates without any parameters.
nageswaragunupudi wrote:Only TCBrowse evaluates bClrPane with parameters row number and column number.
TWBrowse evaluates without any parameters.
AHF,
>I use already a Tcbrowse subclass.
Great!
James