Hi!
Where I must change into xBrowse class to let us change the color of horizontal and/or vertical lines?
Regards,
Maurilio
DEFAULT ::hBtnShadowPen := CreatePen( PS_SOLID, 1, GetSysColor( COLOR_BTNSHADOW ) ),;
::hWhitePen := CreatePen( PS_SOLID, 1, GetSysColor( COLOR_BTNHIGHLIGHT ) )
if ::hColPen != nil
DeleteObject( ::hColPen )
::hColPen := nil
endif
nStyle := ::nColDividerStyle
do case
case nStyle == LINESTYLE_BLACK .or. nStyle == LINESTYLE_RAISED .or. nStyle == LINESTYLE_INSET
::hColPen := CreatePen( PS_SOLID, 1, CLR_BLACK )
case nStyle == LINESTYLE_DARKGRAY
::hColPen := CreatePen( PS_SOLID, 1, CLR_GRAY )
case nStyle == LINESTYLE_FORECOLOR
::hColPen := CreatePen( PS_SOLID, 1, ::nClrText )
case nStyle == LINESTYLE_LIGHTGRAY
::hColPen := CreatePen( PS_SOLID, 1, CLR_LIGHTGRAY )
end case
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 58 guests