var
mylabel:TLabel;
begin
mylabel:=TLabel.creat(self);//self改form1也不行
with mylabel do
being
left:=100;
top:=100;
width:=100;
height:=100;
caption:='good';
show;
end;
end;编译运行正常,就是没有显示。
mylabel:TLabel;
begin
mylabel:=TLabel.creat(self);//self改form1也不行
with mylabel do
being
left:=100;
top:=100;
width:=100;
height:=100;
caption:='good';
show;
end;
end;编译运行正常,就是没有显示。
解决方案 »
- 请教一个问题,熟悉Delphi和VC++的一个小问题....结贴率100%...........................................
- DBgrid里,设置某列的buttonstyle属性为cbsEllipsis后。会出现一个按钮。如何实现这个按钮的单击事件呢?
- Delphi中如何实现模糊查询?
- 如何能把配置信息重新写入exe中呢?
- 新手注意了:sql的关键字
- 如保在接口中动态创建TADOConnection??
- ado连接sql server 2000数据库时,当sql server2000 端口改变时,客户端就会连接失败
- 请问如何将Grid数据打印出来?
- 如何向ORACLE数据库中的LONG RAW字段写TIF图片,并读取??
- 求助
- 使用过 Virtual Treeview 控件的高手,请进!!! 在线等待给分!
- 目前c/s结构流行的界面是什么样子的啊?
being
parent:=self;
left:=100;
top:=100;
width:=100;
height:=100;
caption:='good';
show;
end;
Parent:=self; //!!
left:=100;
top:=100;
width:=100;
height:=100;
caption:='good';
//show;
end;
mylabel:TLabel;
begin
mylabel:=TLabel.creat(self);
with mylabel do
being
Name:='Label1';
left:=100;
top:=100;
width:=100;
height:=100;
caption:='good';
parent:=Self;
end;
end;
需要指定控件的Parent属性。