for i := 0 to Componentcount-1 do
begin
if components[i] is TEdit then
(components[i] as TEdit).Text := '';
end;
begin
if components[i] is TEdit then
(components[i] as TEdit).Text := '';
end;
解决方案 »
- 关于特殊字符的问题
- 问一个动态创建控件的问题??
- 各位大虾,TServerSocket怎么获取TClientSocket的IP啊
- 高分请教,请问怎样在DELPHI下调用dos命令???
- 大家建议一下,哪种制作帮助文件的工具较好??
- 请l_jia(我爱善柔) 过来看一下!(1)
- 我要使dbtext控件呈现3d效果,应该设置哪些属性??
- C写的DLL用DELPHI调用的问题,实在是找不到哪儿错了。请各位高手看看。
- EInvalidOperation----->Cannot focus a disabled or invisible window?????????????
- 高分!关于三层结构问题
- Delphi奇怪的现象!!!(50)
- 我怎么没有找到这个API函数?
i: integer;
begin
for i := 0 to self.ComponentCount - 1 do
if components[i] is TEdit then
(components[i] as TEdit).Text :='';给分
i: integer;
begin
for i := 0 to self.ComponentCount - 1 do
begin
if components[i] is TEdit then
(components[i] as TEdit).Caption :='';
end;
end;
for i:=1 to 6 do
begin
tedit(findcomponent('edit'+inttostr(i))).Text:='';
end;
i: integer;
begin
for i := 0 to self.ComponentCount - 1 do
if components[i] is TEdit then
IF components[i].tag =1 then
(components[i] as TEdit).Text :='';分,
我也要
哈哈~