Guys:
Two REPORT questions:
1. Is there a way on the REPORT command to set a different FONT for the report TITLE ?
2. Can we set a conditional SHADOW on a column ?
Thank you.
DEFINE FONT oFont1 NAME "ARIAL" SIZE 0,-10
DEFINE FONT oFont2 NAME "CALIBRI" SIZE 0,-10 BOLD
DEFINE FONT oFont3 NAME "ARIAL" SIZE 0,-10 BOLD ITALIC
REPORT oReport TITLE "TITLE LINE 1","TITLE LINE 2""TITLE LINE 3" ;
FONT oFont1, oFont2, oFont3 ;
....
END REPORT
IF oReport:lCreated
oReport:oTitle:aFont[1] := {|| 2 }
oReport:oTitle:aFont[2] := {|| 3 }
oReport:oTitle:aFont[3] := {|| 1 }
ENDIF
ACTIVATE REPORT oReport
IF oReport:lCreated
oReport:lShadow := if( your_condition, .T., .F. )
ENDIF
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 82 guests