>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only