Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.11.13;
Скачать: 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 вся ветка

Текущий архив: 2003.11.13;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.034 c
14-41940
fool
2003-10-20 17:08
2003.11.13
MSSQL 7.0: непонятные тормоза


7-42167
short
2003-08-28 21:44
2003.11.13
Sound card (in-out)


6-41814
SergP
2003-09-15 13:11
2003.11.13
Как работать с SOCKS?


3-40925
kosm
2003-10-16 17:45
2003.11.13
BOLD for Delphi - миф или реальность?


14-41880
Peter
2003-10-21 17:31
2003.11.13
Scaner2003