标签:
for(iFormIdx=0; iFormIdx<Screen->FormCount; iFormIdx++) { TForm *pForm = Screen->Forms[iFormIdx]; for(int iCtrlIdx=0; iCtrlIdx<pForm->ControlCount; iCtrlIdx++) { TEdit *pEdit = dynamic_cast<TEdit*>(pForm->Controls[iCtrlIdx]); if(pEdit) { pEdit->Text = ""; } } }
标签:
原文地址:http://www.cnblogs.com/wuyujie/p/4760691.html