>Thank you very much!
>
>In fact, it develops from Borislav Borissov's suggestion, to get it done. Thank you! Cetin, this time I understand completely you're doing, but I tried to paste the custom method in the form, then evoke the method... the controls were not removed, may be it is about the name formation...
>
>however, I developed from your idea as follows:
>
>LPARAMETERS class_name
>
>x = thisform.Controlcount
>FOR n = 1 TO thisform.Controlcount
> IF UPPER(thisform.Controls(x).Class) == UPPER(class_name)
> thisform.RemoveObject(thisform.Controls(x).Name)
> ENDIF
> x = x - 1
>ENDFOR
>
>
>Although it is not the quickest to do it, it works fine. My goal is to find a command like, Thisform.SetAll('delete','nEditBox') whereas 'delete' is action & 'nEditBox' is the class of controls belonged to...
>
>Thanks very much
Aaron,
If it's working then glad:) The code you pasted here sounds to have typos.
Cetin