你应该使用:
property ThumbnailWidth: integer read FThumbnailWidth
write FThumbnailWidth default 170;
property ThumbnailHeight: integer read FThumbnailHeight
write FThumbnailHeight default 120;
或者
property ThumbnailHeight: Integer read GetThumbnailHeight
write SetThumbnailHeight;
property ThumbnailWidth: Integer read GetThumbnailWidth
write SetThumbnailWidth;
两种方式都可以吗?