FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xbrowse vertical line thickness
Posts: 434
Joined: Wed Jun 06, 2007 02:58 PM
xbrowse vertical line thickness
Posted: Thu Dec 28, 2017 04:26 PM
hi
How can I change thickness or colors of vertical lines in some columns in xBrowse ?

thanks
FiveWin for xHarbour 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023

FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)

Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xbrowse vertical line thickness
Posted: Fri Dec 29, 2017 01:19 AM
Code (fw): Select all Collapse
   aData := { { 1, 2, 3, 4 }, { 5, 6, 7, 8 }, { 9, 10, 11, 12 } }

   DEFINE DIALOG oDlg SIZE 400,170 PIXEL TRUEPIXEL
   @ 20,20 XBROWSE oBrw SIZE -20,-20 PIXEL OF oDlg ;
      DATASOURCE aData AUTOCOLS CELL LINES NOBORDER

   hPen  := CreatePen( PS_SOLID, 2, CLR_HRED )

   WITH OBJECT oBrw
      :nColDividerStyle := LINESTYLE_LIGHTGRAY
      :aCols[ 2 ]:hColPen  := hPen
      :aCols[ 3 ]:hColPen  := hPen
      :CreateFromCode()
   END

   ACTIVATE DIALOG oDlg CENTERED
   DeleteObject( hPen )
Regards



G. N. Rao.

Hyderabad, India
Posts: 434
Joined: Wed Jun 06, 2007 02:58 PM
Re: xbrowse vertical line thickness
Posted: Fri Dec 29, 2017 07:51 AM

perfect
thank you Mr Rao

FiveWin for xHarbour 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023

FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)

Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
Posts: 1364
Joined: Wed Jun 21, 2006 12:39 AM
Re: xbrowse vertical line thickness
Posted: Fri Dec 29, 2017 08:36 PM

The problem I see is that when I navigate through the xbrowse the thickness is lost. Compiled with FWH1701 and Harbor 3.2

regards

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: xbrowse vertical line thickness
Posted: Sat Dec 30, 2017 10:36 AM
I noticed the same ( FWH_17_12 )

The problem I see is that when I navigate through the xbrowse the thickness is lost. Compiled with FWH1701 and Harbor 3.2




regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xbrowse vertical line thickness
Posted: Sat Dec 30, 2017 12:31 PM

We need to fix this.
Till then, please use different color but not different thickness.

Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: xbrowse vertical line thickness
Posted: Sat Dec 30, 2017 03:42 PM

damiano,
i not understood what need it ...

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

Continue the discussion