Вниз
Скачать: 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.022 c
3-41087
Gia Gvatua
2003-10-23 13:54
2003.11.13
Problems with Paradox lck files


3-40936
User_OKA
2003-10-17 15:33
2003.11.13
Запрос


3-40919
Hooch
2003-10-19 13:06
2003.11.13
SAP DB


14-41884
Михаил
2003-10-21 15:22
2003.11.13
управление Фотоапаратом


14-42053
Sergo
2003-10-24 09:39
2003.11.13
Теория алгоритмов




   Наверх