Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Clone an Object?
Message
 
À
24/01/2002 14:27:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00609999
Message ID:
00610091
Vues:
20
Not sure if this helps but see:
Forum: Visual FoxPro Category: Coding, syntax & commands Title: Copying an Object - avoiding single object references Thread #365455 Message #365455


>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?
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform