网
网中戏
Unregistered / Unconfirmed
GUEST, unregistred user!
type
TnewListView = class(TListView)
private
{ Private declarations }
protected
procedure CustomDrawItem(Sender: TCustomListView;
Item: TListItem; State: TCustomDrawState; var DefaultDraw: Boolean); [red]override[/red];
{ Protected declarations }
public
{ Public declarations }
published
{ Published declarations }
end;
出现下面错误!如何解决?
[Error] newListView.pas(13): Declaration of 'CustomDrawItem' differs from previous declaration
TnewListView = class(TListView)
private
{ Private declarations }
protected
procedure CustomDrawItem(Sender: TCustomListView;
Item: TListItem; State: TCustomDrawState; var DefaultDraw: Boolean); [red]override[/red];
{ Protected declarations }
public
{ Public declarations }
published
{ Published declarations }
end;
出现下面错误!如何解决?
[Error] newListView.pas(13): Declaration of 'CustomDrawItem' differs from previous declaration