Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Основная";
Текущий архив: 2003.05.22;
Скачать: [xml.tar.bz2];

Вниз

Как сделать некоторые Rows(или ячейки)в StringGrid другим цветом?   Найти похожие ветки 

 
TALLA_   (2003-05-12 16:15) [0]

Как сделать некоторые Rows (или ячейки) в StringGrid другим цветом?


 
Bug   (2003-05-12 16:26) [1]

Событие OnDrawCell...


 
MalkoLinge   (2003-05-12 16:30) [2]

type
TDrawCellEvent = procedure (Sender: TObject; ACol, ARow: Longint; Rect: TRect; State: TGridDrawState) of object;
property OnDrawCell: TDrawCellEvent;

Description

Write an OnDrawCell event handler to draw the contents of all the cells in the grid. Draw on the cell using the methods of the Canvas property. The Rect parameter indicates the location of the cell on the canvas. The Col and Row parameters indicate the column and row indexes of the cell that should be drawn. The State parameter indicates whether the cell has input focus, whether the cell is selected, and whether the cell is a fixed (nonscrolling) cell.

If the OnDrawCell event handler is not assigned, all cells in the draw grid will appear empty. If the DefaultDrawing property is True, the draw grid paints the background color of the cell before the OnDrawCell event, and draws a focus rectangle around the selected cell after the OnDrawCell event handler finishes drawing the contents of the cell. If the DefaultDrawing property is False, the OnDrawCell event handler should paint the background of the cell and provide all visual indication of selection and focus.


 
TALLA_   (2003-05-12 16:53) [3]

Пасиба


 
ghg   (2003-05-12 17:45) [4]

http://delphimaster.net/view/1-1052734934/



Страницы: 1 вся ветка

Форум: "Основная";
Текущий архив: 2003.05.22;
Скачать: [xml.tar.bz2];

Наверх




Память: 0.46 MB
Время: 0.008 c
14-70508
Stexen
2003-05-04 21:38
2003.05.22
Почта, не в тему но надо


14-70469
LOX
2003-05-03 18:05
2003.05.22
WWW сайт без знания пароля и логина


1-70261
Тот самый Джо
2003-05-12 12:04
2003.05.22
Помогите написать конвертор


1-70244
Le!
2003-05-09 07:40
2003.05.22
Присвоение времени.


3-70182
Avreliy
2003-05-03 17:25
2003.05.22
Отказ работы ограничения NOT NULL!





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
Английский Французский Немецкий Итальянский Португальский Русский Испанский