procedure TYouMainForm::FuZhi()
var i : Integer;
begin
for i=0 to Self.ControlCount do
begin
if Self.Controls[i] is TEdit then
(Self.Controls[i] is TEdit).Caption:='统一赋值';//假定统一给Caption赋值
end;end;
var i : Integer;
begin
for i=0 to Self.ControlCount do
begin
if Self.Controls[i] is TEdit then
(Self.Controls[i] is TEdit).Caption:='统一赋值';//假定统一给Caption赋值
end;end;
解决方案 »
- delphi 如何隐藏打印任务窗口
- 远程主机强迫关闭一个现有连接,(10054),ON API "Rev'
- 关于clientdataset查询语句问题!谢谢帮忙~女朋友急等~~
- 特殊要求:运行环境为没有安装Excel的Windows系统,Delphi中表数据与Excel文件(*.xls)之间导入导出。
- 在DFW问了两天,在本站问了四天,,没有最终答案...我苦阿,,500+200分求助
- 谁能告诉我???????
- 如何在win2000下检测打印机的状态,比如:是否开机,缺纸,是否准备就绪等??
- 软件的注册
- 询找delphi2007高手,是高手请留下您的QQ好吗?
- 中国人自己的可视图形编程语言
- 急,急,急。。。。关于MDI的扉页,在线等
- 关闭窗口
Self.Controls[i] as TEdit).Caption:='统一赋值';//
for i:=0 to Self.ControlCount-1 do
begin
if Self.Controls[i] is TEdit then
(Self.Controls[i] as TEdit).text:='统一赋值';//假定统一 给 caption赋值
end;
begin
if (Form.components[i] is TEdit then
begin
TEdit(Form.components[i]).text:'aaaa';
end;