Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Clone an Object?
Message
 
 
To
24/01/2002 14:27:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00609999
Message ID:
00610010
Views:
16
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform