掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
カスタムコントロール:独自イベントを作成するには? (ID:21596)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
> 結論から言うとできませんでしたです。スタックオーバーでDelphiが終了します・・・。 そら、当然ですわ。 > procedure SetMyPersistent(const Value:TMyPersistent); > begin > MyPersistent:=Value; > end; これ、プロパティを再度更新しにいってます。 ↓のように、再帰呼び出ししまくってるのと同じです。 procedure SetMyPersistent(const Value:TMyPersistent); begin SetMyPersistent(Value); end; ↓のように、変数そのものを更新しないといけまへん。 procedure SetMyPersistent(const Value:TMyPersistent); begin FMyPersistent := Value; end;
←解決時は質問者本人がここをチェックしてください。
更新する
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.