Вниз
Скачать: CL | DM;

button в ячейке стрингрида   Найти похожие ветки 

 
denis24   (2003-10-30 17:56) [0]

Можно ли сделать сабж?


 
Спрашивающий_   (2003-10-31 02:02) [1]

Лови пример с SpeedButton,Button поместить в ячейку проблемы
нет, сложнее с обработкой событий.
procedure TForm1.StringGrid1DrawCell(Sender: TObject; ACol, ARow: Integer;
Rect: TRect; State: TGridDrawState);
begin
If (ACol=1) and (ARow=1) Then
begin
SpeedButton1.SetBounds(Rect.Left,Rect.Top,Rect.Right-Rect.Left,Rect.Bottom-Rect.Top);
end;
end;

procedure TForm1.FormCreate(Sender: TObject);
begin
SpeedButton1.Parent:=StringGrid1;
end;



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

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



Память: 0.44 MB
Время: -0.955 c
4-42279
Igit
2003-09-06 13:29
2003.11.13
робота с диалогами


4-42298
AlexTregubov
2003-09-09 16:07
2003.11.13
CreateProcessWithLogonW


14-41961
Ketmar
2003-10-16 19:22
2003.11.13
DarkEyeProxy v0.3.0


1-41229
LG
2003-11-01 08:31
2003.11.13
Как Progressbar в ListView


1-41307
satron
2003-10-31 11:16
2003.11.13
Вызов OutLook




   Наверх