R
roc
Unregistered / Unconfirmed
GUEST, unregistred user!
我使用Xiangqi 1.0 中国象棋的DELPHI控件,但编译出错:
function GetPieceBitmap(PieceIndex: Cardinal):TBitmap;
function GetBoard(XPos, YPos: Cardinal)PieceInfo;
....
property PieceBitmap[PieceIndex: Cardinal]:TBitmap read GetPieceBitmap;
property Board[XPos, YPos: Cardinal]PieceInfo read GetBoard write SetBoard; default;
错误信息:
[Error]Xiangqi.pas(173)ublished property 'PieceBitmap' cannot be of type ARRAY
[Error]Xiangqi.pas(174)ublished property 'Board' cannot be of type ARRAY
我用的是DELPHI5.0,能否告知什么原因,怎样解决?
急!
function GetPieceBitmap(PieceIndex: Cardinal):TBitmap;
function GetBoard(XPos, YPos: Cardinal)PieceInfo;
....
property PieceBitmap[PieceIndex: Cardinal]:TBitmap read GetPieceBitmap;
property Board[XPos, YPos: Cardinal]PieceInfo read GetBoard write SetBoard; default;
错误信息:
[Error]Xiangqi.pas(173)ublished property 'PieceBitmap' cannot be of type ARRAY
[Error]Xiangqi.pas(174)ublished property 'Board' cannot be of type ARRAY
我用的是DELPHI5.0,能否告知什么原因,怎样解决?
急!