FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Tgroup color border
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Tgroup color border
Posted: Mon Oct 28, 2024 06:01 PM


I use
oGrp[4]:nClrText := 0xC38B2B

nClrBorder not work !!!
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Tgroup color border
Posted: Tue Oct 29, 2024 07:50 AM

Dear Silvio,

Class TGroup is based on a standard Windows class, so we use its default paint procedure:

CallWindowProc( ::nOldProc, ::hWnd, WM_PAINT, ::hDC, 0 )

and the change of the color line is not supported by Windows

A user defined Class TGroupEx should be implemented to have control on that

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion