Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting the Control Source for an OLEcontrol
Message
De
22/12/2004 13:05:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Setting the Control Source for an OLEcontrol
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Divers
Thread ID:
00971511
Message ID:
00971511
Vues:
62
Hi,
I am trying to add an Olecontrol (richtextcntrl) to a form. In the init, I put the following code:
parameter pcfilename
thisform.filenameuse = pcfilename
thisform.olecontrol1.controlsource = thisform.filenameuse
pcFilename is a full path and file name. But the error I am getting says:
"The data source for this object must be a variable reference."

What am I doing wrong?

Thanks,
Beth
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform