- Code: Select all Expand view
METHOD ReDefine( nId, oWnd, nClrFore, nClrBack, lDesign, cMsg ) CLASS TTreeView
......
//ROS
::nClrText := nClrFore
::nClrPane := nClrBack
//
::Register( .....
......
salu2
METHOD ReDefine( nId, oWnd, nClrFore, nClrBack, lDesign, cMsg ) CLASS TTreeView
......
//ROS
::nClrText := nClrFore
::nClrPane := nClrBack
//
::Register( .....
......
RenOmaS wrote:......
//ROS
::nClrText := nClrFore
::nClrPane := nClrBack
//
::Register( .....
......
//----------------------------------------------------------------------------//
METHOD ReDefine( nId, oWnd, nClrFore, nClrBack, lDesign, cMsg ) CLASS TTreeView
DEFAULT oWnd := GetWndDefault(),;
nClrFore := GetSysColor( COLOR_WINDOWTEXT ),; // UGO
nClrBack := GetSysColor( COLOR_WINDOW ),; // UGO
lDesign := .f.
::nClrText := nClrFore // ROS
::nClrPane := nClrBack // ROS
::nId = nId
::oWnd = oWnd
::aItems = {}
::Register( nOR( CS_VREDRAW, CS_HREDRAW, TVS_HASBUTTONS, TVS_HASLINES, TVS_LINESATROOT ) )
oWnd:DefControl( Self )
return Self
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 74 guests