Вниз
Скачать: 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.025 c
1-41158
ss300
2003-11-03 06:02
2003.11.13
CopyFile


14-41957
Butterfly
2003-10-17 14:50
2003.11.13
Про попугаев


3-41007
New user
2003-10-23 18:01
2003.11.13
Array fields in FireBird


6-41804
Fixxxer
2003-09-16 12:48
2003.11.13
и ещё вопрос по скриптам


1-41495
Ник
2003-10-28 15:46
2003.11.13
Графический редактор




   Наверх