FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Parameterization of xReport
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Parameterization of xReport
Posted: Sat Jan 13, 2024 08:33 AM
Hello friends,

In the xReport Generator, we use the original attributes of HTML for the setup hash as much as possible, so one gets accustomed to the terminology.
Here is an example:
In xReport, the table head is declared as:

<thead class="custom-thead">

In our project, we use a custom CSS class named .custom-thead to style the appearance of table headers.
This class is applied to the <thead> element of the table to give it a unique look.

The .custom-thead class is defined as follows:

.custom-thead {
background-color: #007bff; /* Blue */
color: white;
}

This definition causes the background of the table head to appear in a bright blue (#007bff), while the text is in white.
This design ensures high contrast and clear readability of the headers in the table.

cHtmlTmp += 'background-color: ' + hReport['custom-th-background-color'] + ';'
cHtmlTmp += 'color: ' + hReport['custom-th-color'] + ';'

Best regards,
Otto




Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Parameterization of xReport
Posted: Sat Jan 13, 2024 10:15 AM

Very nice.

Regards



G. N. Rao.

Hyderabad, India
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Parameterization of xReport
Posted: Sat Jan 13, 2024 06:18 PM
Dear Mr. Rao,

Thank you for the kind words. I have now inserted the diagrams.

Best regards,
Otto



Continue the discussion