Delphi 中 动态创建的Panel无法改变颜色的解决办法
摘要:
刚开始代码如下:procedure TForm1.Button1Click(Sender: TObject);var Panel: TPanel;begin Panel := TPanel.Create(Form1); Panel.Name := 'pnlPreVideo'; Panel.Parent := Form1; Panel.OnClick := Panel1Click; MoveWindow(Panel.Handle, 10, 10, 100, 100, True);end;procedure TForm1.Panel1Click(Sender: TObject);b 阅读全文
posted @ 2013-08-09 15:44 jxgxy 阅读(4061) 评论(0) 推荐(1) 编辑