Главная страница
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.014 c
6-61231
snoup
2002-07-16 16:15
2002.09.19
Привет! Как программно послать SMS на какую-нить мобилу!!!


1-61133
AFrolov
2002-09-06 13:47
2002.09.19
Как привязать Combobox к StringGrid?


14-61254
RealDummy
2002-08-22 02:44
2002.09.19
Создание сайта


3-61027
Adventure_
2002-08-30 09:53
2002.09.19
dbExpress now includes mysql 3.23.45 support with a new driver ..


1-61184
RDA
2002-09-08 11:19
2002.09.19
Стиль окна