sub DBCross1Row2OnBeforePrint(Sender)
if sender.text <> "NCG" then sender.font.color = clred                                                                                                                               Â
end Sub
sub DBCross1Row2OnBeforePrint(Sender)
if sender.text <> "NCG" then sender.font.color = clred                                                                                                                               Â
end Sub
greetz
Thanks for reply Slashmaster, but it don't works, see:
well.. this should work! " border="0" alt="laugh.gif" />" alt=">" />
if tfrxmemoview(sender).value = 'NCG' then tfrxmemoview(sender).font.color :=clred
i code with BasicScipt and there works
if sender.value = "NCG" then sender.font.color = clred
fine... [img]style_emoticons/<#EMO_DIR#>/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" />
*edit*
use VALUE instead of TEXT[/img]
Comments
u could use the on before Print-Event of the Cell
Basic-Script
greetz
Thanks for reply Slashmaster, but it don't works, see:
the text from "dbcross1row1.text" isn't the same like "Sender.text" at the Moment "onbeforeprint".
Slashmaster, thank's for the help, but don't works, see the error
if TfrxMemoView(Sender).Text = 'NCG' then
begin
TfrxMemoView(Sender).font.color:=clred;
end;
well.. this should work! " border="0" alt="laugh.gif" />" alt=">" />
i code with BasicScipt and there works
fine... [img]style_emoticons/<#EMO_DIR#>/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> *edit* use VALUE instead of TEXT[/img]
pele your code works fine! thank's