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

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

Наверх




Память: 0.46 MB
Время: 0.016 c
4-8210
anod
2002-08-14 23:10
2002.10.03
Idle


1-7993
Алина
2002-09-20 19:39
2002.10.03
Удалить двойные файлы


3-7816
SteelHorse
2002-09-12 10:20
2002.10.03
Кодировки в dBase-файлах, импорт в Office


1-7902
PEC
2002-09-23 15:10
2002.10.03
Привет народ ! Авось кто поможет !


1-8011
AndreyS
2002-09-20 14:39
2002.10.03
3D примитивный компонент