R
rzxiaojun
Unregistered / Unconfirmed
GUEST, unregistred user!
我用Type Library自定义事件,为什么总是提示我没定义这个事件。
procedure TClientActiveFormX.Initialize;
begin
inherited Initialize;
OnActivate := ActivateEvent;
OnClick := ClickEvent;
OnCreate := CreateEvent;
OnDblClick := DblClickEvent;
OnDeactivate := DeactivateEvent;
OnDestroy := DestroyEvent;
OnKeyPress := KeyPressEvent;
OnPaint := PaintEvent;
OnChange := ChangeEvent;
end;
OnChange事件是我自己定义的,总是提示我"undeclareed identifier:Onchange"
procedure TClientActiveFormX.Initialize;
begin
inherited Initialize;
OnActivate := ActivateEvent;
OnClick := ClickEvent;
OnCreate := CreateEvent;
OnDblClick := DblClickEvent;
OnDeactivate := DeactivateEvent;
OnDestroy := DestroyEvent;
OnKeyPress := KeyPressEvent;
OnPaint := PaintEvent;
OnChange := ChangeEvent;
end;
OnChange事件是我自己定义的,总是提示我"undeclareed identifier:Onchange"