Board index » delphi » [Newbie]Problem with a script in fast report
etienne
Delphi Developer |
[Newbie]Problem with a script in fast report2004-01-29 05:43:09 PM delphi171 Hi, In a regtangle object in the detail band of fast report, i use the following script : begin memo.clear; if [dsLignes."ZCL_RF_PRT"] = '**' then begin if [dsLignes."ZCL_PRIX"] <>0 then begin Memo.add([dsLignes."ZCL_PRIX"]) ; Memo.Font.Style := fsBold ; end ; end else begin Memo.add([dsLignes."TOTALLIGNE"]) ; Memo.Font.Style := fsItalic ; end ; end I obtain the good value in the object this way BUT : 1) I have lost the display format 2) The font style is not working. I don't have the object in bold or italic Can somebody help me ? Tks |