掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
動的に生成するフォームに引数を渡すには? (ID:9166)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
Createをオーバーロードします。 overloadをヘルプで調べてみてください。 constructor Create(AOwner: TComponent; AWidth, AHeight: Integer); overload; というように定義します。 実装は、 constructor TForm1.Create(AOwner: TComponent; AWidth, AHeight: Integer); begin inherited Create(AOwner); { 追加処理 } end; というようにします。
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.