掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
コンポーネントの上下の設定 (ID:13107)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
こんな感じです。 public MyPanel:TPanel; end; var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin MyPanel := TPanel.Create(self); MyPanel.Parent := Panel1; MyPanel.Left := 10; MyPanel.Top := 10; MyPanel.Caption := 'MyPanel'; Label1.Parent := MyPanel; Label1.Left := 10; Label1.Top := 10; end;
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.