Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Bases";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

How do I change the color in a particular row to a table in DBGRID Find similar branches


ANDREY196   (2001-12-04 18:24) [0]

How do I change the color in a particular row to a table in DBGRID



Юрий Жуков   (2001-12-04 19:37) [1]

I am ashamed to ask such questions - go to the kingdom delphi - there is a series of articles - it will help you ...



panov   (2001-12-05 08:24) [2]

> Yuri Zhukov © (04.12.01 19: 37)

Not ashamed.



Юрий Жуков   (2001-12-05 09:38) [3]

That's it.
It’s easier to just ask a question than looking for something yourself.
Type in Yandex "DBGrid coloring" and get articles, examples, etc.



Baron   (2001-12-05 09:57) [4]

Do not be shy to ask questions !!!

procedure TfPokaz.DBGrid1DrawColumnCell (Sender: TObject; const Rect: TRect;
DataCol: Integer; Column: TColumnEh; State: TGridDrawState);
begin
if DataCol = 7 // if you need to colorize a specific column, otherwise remove this condition
then if (Query2Per.Value <90) // some condition
then DBGrid1.Canvas.Font.Color: = clRed;
DBGrid1.DefaultDrawColumnCell (Rect, DataCol, Column, State);
end;



Pages: 1 whole branch

Forum: "Bases";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top





Memory: 0.55 MB
Time: 0.025 c
1-22248
Leviathan
2001-12-17 13:07
2002.01.08
Delphi mocks !!!


4-22482
PONTIY
2001-11-01 10:06
2002.01.08
WinExec or ShellExecute


6-22305
Kryptin phreek
2001-10-11 19:43
2002.01.08
Sockets ... Lokka ...


14-22355
frostbite
2001-11-06 12:39
2002.01.08
Transfer


1-22080
Delphimun
2001-12-18 17:11
2002.01.08
How to load the cursor from the resource, and then save it to disk?





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Spanish swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada Khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish