Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.009 c
3-61024
Bishop
2002-08-30 09:58
2002.09.19
SQL


1-61158
Александр
2002-09-07 13:12
2002.09.19
ListView и Keys


8-61216
Aristokrat
2002-05-16 16:41
2002.09.19
Графический компонент на база TCustomControl


14-61249
vJet
2002-08-23 01:37
2002.09.19
Телефонный справочник


14-61260
Пахан
2002-08-23 09:33
2002.09.19
DELPHI 6




   Наверх