>I know that VFP generates an OLE error if the param of the OLE object method was declared in C++ as SHORT.
>
>Until now I couldn't find a workaround for this.
>
>Vlad
>
>>Is it possible for VisualFoxpro to set an integer property or pass an integer as a parameter to an .OCX at run time.
>>
>>Unlike .DLLs, the methods and properties of .OCXs are accessed directly. My experience is that offering a Visual Foxpro numeric (or even an integer field from a table) is frequently ignored or generates an error message.
>>
>>Can anybody confirm that this is inevitable or suggest a way round it.
Hello Paul!
Some months ago, I read a similar message from you. Since then, I programmed 2 OCX control. As you suggested I didnot used short type for parameters. I made some test with it, but I didnot find any error, but I even didnot use...
I tested only under VFP5.0a with Properties using Get/Set method and Method parameters.
Can you describe a more detailed scenario for the error occuring?
BB
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