TxxxX = class(TOleControl)
private
FIntf: IxxxX;
function GetControlInterface: IxxxX;
function GetDoubleProp(const Index: Integer): Double;//自动增加
function GetSmallintProp(const Index: Integer): Smallint;//自动增加
protected
procedure CreateControl;
procedure InitControlData; override;
//手动增加
procedure KeyDown(var Key: Word; Shift: TShiftState); override;
....
end;为什么会自动增加这两个事件,是什么原因,请各位指点???
private
FIntf: IxxxX;
function GetControlInterface: IxxxX;
function GetDoubleProp(const Index: Integer): Double;//自动增加
function GetSmallintProp(const Index: Integer): Smallint;//自动增加
protected
procedure CreateControl;
procedure InitControlData; override;
//手动增加
procedure KeyDown(var Key: Word; Shift: TShiftState); override;
....
end;为什么会自动增加这两个事件,是什么原因,请各位指点???
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货