Вниз
Скачать: 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.447 c
6-41801
Dolla
2003-09-17 13:02
2003.11.13
ошибка сокета


6-41840
Multy
2003-09-12 03:59
2003.11.13
Два вопроса по TWebBrowser


9-40782
b@nz@i
2003-05-02 06:13
2003.11.13
Шмотки и Allod ы


3-40929
DelphiNew
2003-10-25 14:37
2003.11.13
Type mismatch in expression


4-42287
andriy
2003-09-08 13:25
2003.11.13
WM_ACTIVATE




   Наверх