Текущий архив: 2003.02.24;
Скачать: CL | DM;
Вниз
Номер строки в StringGrid Найти похожие ветки
← →
Yu (2003-02-14 10:49) [0]Всем привет.
Есть у меня StringGrid и нужно узнать номер строки, которая выделена в данный момент. Есть событие SelectCell, но оно наступает ПЕРЕД выделением. Т.е. если я перемещаюсь, например, со 2-й строки на 5-ю, то получаю № 2, и только потом перехожу на 5 стр. Может, кто подскажет как бороться?
Заранее спасибо.
Yu.
← →
Романов Р.В. © (2003-02-14 10:55) [1]The Col and Row parameters indicate the column and row indexes of the cell that is about to be selected
или с помощью PostMessage
← →
han_malign © (2003-02-14 11:01) [2]function SelectCell(ACol, ARow: Longint): Boolean; virtual;
Description
Grid controls call SelectCell internally before attempting to move selection to a the cell identified by the ACol and ARow parameters. ACol and ARow are the column and row indexes for the cell, where the first column has index 0, and the top row has index 0.
← →
Yu (2003-02-14 11:17) [3]Спасибо.
И как сам не сообразил? Тормоз... :)
Страницы: 1 вся ветка
Текущий архив: 2003.02.24;
Скачать: CL | DM;
Память: 0.47 MB
Время: 0.017 c