|
* 에디트 컴포넌트 클리어입니다.
(라벨을 응용하면 되겠죠???)
AnsiString nameString("TzCDEdit");
char compBuf[10];
TzCDEdit * Edit;
for(int i=0; i < ComponentCount; i++)
{
//Check to see if the component is a TzCDEdit
if (Components[i]->ClassNameIs(nameString))
{
//cast the component to a TzCDEdit *
Edit = (TzCDEdit *)Components[i];
Edit->Text = ""; //모든 에디터 클리어
itoa(ComponentCount, compBuf, 10);
}
}
|