Can you just make the object disabled and invisible?
>Hi everybody!
>
>I have no idea how I can clone an object in VFP, or may be something like this.
>I have found a CloneObject methid, but it works only in design mode.
>
>Here is the situation:
>I have object on my form. Let's say ThisForm.Text1.
>My form have property ThisForm.CurrentObject.
>
>Then ...
>ThisForm.CurrentObject=ThisForm.Text1
>ThisForm.RemoveObject("Text1")
>
>I need my ThisForm.CurrentObject to hold the Text1 for further use, but :-( it NULLs after Text1 is being removed.
>
>Does anyone has an idea how I can do this?
--sb--