Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I set an Object to another one's proprerty?
Message
 
 
To
24/08/1999 16:26:20
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00257284
Message ID:
00257298
Views:
17
>Hi Mark,
>
>Thanks for the reply.. However xFiles is an Object as well... Ex:
>
>I set the properties of xFiles and then I pass the entire xFiles object to the Selection property of the xBackup object.
>
>In VB it would look something like this:
>
>xFiles.FilesToProcess = "c:\*"
>xFiles.FilesToExclude = "c:\Winnt\*"
>
>xBackup.Selection = xFiles
>
>Foxpro does not seem to like passing an object to another one..
>
>Thanks again for your help!
>
>Jenny Beland
>Technical Support
>Xceed Software Inc.

xBackup.Selection = ThisForm.Container_Name_Of_XFiles.xFiles

You said xfiles was in a separate container, so you need to include the name of that container and the form if the xfiles container is part of a form. If the container name is the form, then:

xBackup.Selection = ThisForm.xFiles
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform