20-07-2012, 12:12 AM
23-07-2012, 09:07 PM
كود :
procedure TForm1.DBGrid1DrawColumnCell(Sender: TObject; const Rect: TRect;
DataCol: Integer; Column: TColumn; State: TGridDrawState);
begin
if Table1.FieldByName('jour').AsCurrency>= 10 then
begin
DBGrid1.Canvas.Font.Color:=clWhite;
DBGrid1.Canvas.Brush.Color:=clBlack;
end;
DBGrid1.DefaultDrawColumnCell(Rect, DataCol, Column, State);
end;26-07-2012, 11:17 AM
في نفس السياق كيف تتلون المعلومات المطلوبة في الـ DBGrid بعد عملية البحث،
أي تتلون المعلومات المبحث عنها فقط في الـ DBGrid
أي تتلون المعلومات المبحث عنها فقط في الـ DBGrid