Вниз
Скачать: 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.02 c
1-41515
Артем
2003-10-25 22:22
2003.11.13
ShellExecute


3-40798
Виталя
2003-10-22 15:17
2003.11.13
Как отследить поле NULL возвращаемое хранимой процедурой ?


4-42245
FIREHACK
2003-09-18 17:04
2003.11.13
Настоящим мастерам _winlogon notifications packages_


3-40855
Gia Gvatua
2003-10-21 08:48
2003.11.13
Problems with Paradox tables


3-40974
explorer
2003-10-16 07:11
2003.11.13
Paradox: *.lck




   Наверх