Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object replication
Message
 
 
To
18/04/2005 11:27:37
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01005809
Message ID:
01005891
Views:
21
Henry,

If you select an object in the designer, and press Ctrl-C, then select the second container and type Ctrl-V you'll paste a copy of the original object, it'll have all the same property values.

If you want to replicate the properties from one existing object to another existing object you can use a builder. Look at the examples over on my website under the Samples menu for Builders and ResetToDef.

>When I drag an object from one container to another, I need to remove the original object and create a new one in the new container, right?
>
>The dragged object has a few properties set. I'd like the new object to get those same settings.
>
>Is there a generic way to cycle through all props and set OBJ2 the same as OBJ1 was? Both objects are from the same class, obviously.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform