文章分类 -  Object Pascal 语言

Object Pascal 语言
摘要:1)清楚所有窗体内的输入框 For i:=0 to ComponentCount - 1 do if Components[i] is TEdit then TEdit(Components[i]).Text := ''; 以此类推,可以用于Label,Button等等,那些需要统一更改的属性等内容。 2)遍历一个窗口的所有组件以显示它们的类名称procedure TFor... 阅读全文
posted @ 2004-06-07 10:54 Delphi编程驿站,网络交流的空间站! 阅读(370) 评论(0) 推荐(0)