Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.09.19;
Скачать: CL | DM;

Вниз

ListBox   Найти похожие ветки 

 
v_pilot ©   (2002-09-06 18:27) [0]

Необходимо в ListBox у выбранного элемента Font.Style:=[fsStrikeOut], т.е. этот самый элемент зачеркивать.


 
MBo ©   (2002-09-06 18:32) [1]

procedure TForm1.ListBox1DrawItem(Control: TWinControl; Index: Integer;
Rect: TRect; State: TOwnerDrawState);
begin
ListBox1.Canvas.FillRect(Rect);
if odSelected in State then
ListBox1.Canvas.Font.Style:=ListBox1.Canvas.Font.Style+[fsStrikeOut];
ListBox1.Canvas.TextOut(Rect.Left+1,Rect.Top+1,ListBox1.Items[Index]);
end;



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

Текущий архив: 2002.09.19;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.01 c
4-61354
RealDummy
2002-07-25 02:07
2002.09.19
Как заменить tray в Windows?


3-60935
Adil Aliev
2002-08-27 06:26
2002.09.19
DBGrid Print


3-61019
michael_b
2002-08-29 22:20
2002.09.19
Следует ли использовать IBTable?


1-61213
AFrolov
2002-09-03 14:43
2002.09.19
Access Violation после завершения работы приложения


1-61159
MikeFW
2002-09-06 12:47
2002.09.19
Как узнать имя родителя в дереве