首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

delphi7 constructor 有关问题

2013-09-10 
delphi7 constructor 问题delphi2010下代码如下: TXRegionRect packed recordX: IntegerY: IntegerWid

delphi7 constructor 问题
delphi2010下代码如下:
 TXRegionRect = packed record
    X: Integer;
    Y: Integer;
    Width: Integer;
    Height: Integer;
  public
    constructor TXRegionRect(AX,AY,AWidth,AHeight: Integer);
  end;

constructor TXRegionRect.TXRegionRect(AX,AY,AWidth,AHeight: Integer);
begin
  X := AX;
  Y := AY;
  Width := AWidth;
  Height := AHeight;
end;
要想在delphi7用应该怎么改?

热点排行