omor Posted December 11, 2012 Report Share Posted December 11, 2012 Como mudar a cor do DBTExt quando a quantidade for maior que zero, ele mostrar em azul e se for < 0 mostrar em vermelho? Quote Link to comment Share on other sites More sharing options...
0 Jhonas Posted December 14, 2012 Report Share Posted December 14, 2012 exemplo:procedure TForm1.DBEdit3Change(Sender: TObject); begin if Query1QUANT.Value < 0 then DBEdit3.Font.Color := clRed else DBEdit3.Font.Color := clBlue; end;abraço Quote Link to comment Share on other sites More sharing options...
Question
omor
Como mudar a cor do DBTExt quando a quantidade for maior que zero, ele mostrar em azul e se for < 0 mostrar em vermelho?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.