How to use xBrw:nHeadDividerStyle ?

How to use xBrw:nHeadDividerStyle ?

Postby dutch » Mon Nov 02, 2020 2:14 pm

I set row with below command but the header is effect as picture.
How can I set ::nHeadDividerStyle as LINESTYLE_LIGHTGRAY for Horizon Line ?

Thank you in advance for any help and idea.
Code: Select all  Expand view
oBrw2:nRowDividerStyle := LINESTYLE_NOLINES

Image
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: How to use xBrw:nHeadDividerStyle ?

Postby FranciscoA » Mon Nov 02, 2020 2:53 pm

dutch wrote:I set row with below command but the header is effect as picture.
How can I set ::nHeadDividerStyle as LINESTYLE_LIGHTGRAY for Horizon Line ?

Thank you in advance for any help and idea.
Code: Select all  Expand view
oBrw2:nRowDividerStyle := LINESTYLE_NOLINES

Image


New DATA nHeadDividerStyle ( init value NIL )
Initially a simple implementation in this version.

The style applies to both Header and Footer and affects
FLAT style browses only ( :lFlatStyle == .t. )

Permitted values are NIL (default behavior) or
LINESTYLE_NONE only.

When set to LINESTYLE_NONE
(a) if nColDividerStyle also is set to 0,
Column Divider is not painted in Header and Footer.
(b) if nRowDividerStyle also is set to 0,
horizontal dividers are not painted in Header/Footer.
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh-MySql-TMySql
User avatar
FranciscoA
 
Posts: 2158
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: How to use xBrw:nHeadDividerStyle ?

Postby dutch » Thu Nov 05, 2020 2:42 pm

Dear Francisco,

I use ::lFlatstyle := .T. , but I need horizon line in group header. I
How to paint horizontal dividers with LINESTYLE_LIGHTGRAY?

Thank you for any idea.
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 33 guests