Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2003 Server
>I have isolated what the problem is;
>
>When setting a property value on an ActiveX control VFP will allow only 2 parameters within the brackets.
>
>So this is ok
>
>MyObject.Property(x,y)=1
>
>this is not
>
>MyObject.Property(x,y,z)=1
>
>VFP seems to see the second example as a 3 dimensional array which it obviously does not support. This behaviour can be replicated with a few different ActiveX controls and I have found examples going back to VFP5.
>
>For my own issue I have had to build a data table in raw RTF and then paste it into the txText control. I don't see that there is a generic work around that would help here.
>
>Thanks for all your help.
Just a thought, what if you tried the following:
loObject = "MyObject.Property(x,y,z)"
&loObject = 1
or
(loObject) = 1
Try using macro substitution -- VFP may behave differently...
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement