Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I set an Object to another one's proprerty?
Message
 
 
À
24/08/1999 16:26:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00257284
Message ID:
00257298
Vues:
18
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform