Вниз
Скачать: CL | DM;

Как изменить TInplaceEdit у TDBGrid?   Найти похожие ветки 

← →
vadim2   (2002-09-23 10:13) [0]

Конкретнее, как обработать WM_PASTE?


← →
Рыжик ©   (2002-09-23 11:21) [1]

TMyInplaceEdit = class(TInplaceEdit)
private
procedure WMPaste(var Message:TWMPaste);message WM_PASTE;
end;

TMyDBGrid = class(TDBGrid)
protected
function CreateEditor: TInplaceEdit; override;
end;

procedure TMyInplaceEdit.WMPaste(var Message: TWMPaste);
begin
ShowMessage("Paste");
end;

function TMyDBGrid.CreateEditor: TInplaceEdit;
begin
Result:=TMyInplaceEdit.Create(Self);
end;


← →
Рыжик ©   (2002-09-23 11:24) [2]

Т.е.:

procedure TMyInplaceEdit.WMPaste(var Message: TWMPaste);
begin
inherited;
ShowMessage("Paste");
end;




Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.014 c
14-8151
MaximatorVeter
2002-09-09 11:43
2002.10.03
Мелочи жизни


14-8118
TTCustomDelphiMaster
2002-09-07 19:21
2002.10.03
Кино не показывает


3-7797
Dmitry Toropov
2002-09-10 17:14
2002.10.03
ADO не работает


14-8136
Usre
2002-09-08 23:38
2002.10.03
Аффоризмом в глаз!!!


14-8128
Esu
2002-09-08 20:00
2002.10.03
Я фигею, дорогая передача...




   Наверх