掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
自作プロパティについて (ID:755)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
自作のプロパティを作成しているのですが、integer型の配列型のプロパティにしようとして、困っています。以下に現状のソースを置きますので、どなたかわかる方いましたらどこが悪いかご指摘いただければ、お願いします。 unit StringGridEx; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Grids; type TAInt = array[0..255] of Integer; type TFrameStringGridEx = class(TFrame) StringGrid1: TStringGrid; procedure StringGrid1DrawCell(Sender: TObject; ACol, ARow: Integer; Rect: TRect; State: TGridDrawState); private FCenterCols: TAInt; procedure SetCenterCols(const Value: TAInt); { Private 宣言 } public { Public 宣言 } property CenterCols:TAInt read FCenterCols write SetCenterCols; end; implementation 以下省略
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.