Board index » cppbuilder » accessing array properties in activex control

accessing array properties in activex control


2004-07-12 10:46:24 PM
cppbuilder7
I imported an active x control called vsflex grid. It has array properties
For example in VB
grid.TextMatrix(12,12) = "Hello VB"
I can't seem to get this in Builder. I get an TextMatrix not accessible
error.
Any ideas?
-Dave
 
 

Re:accessing array properties in activex control

Sometimes, read/write properties can be generated as readonly by the type
library importer.
It generates the getter/setter methods however so you can call
set_TextMatrix()
e.g. grid->set_TextMatrix(12, 12, WideString("Hello VB"));
Stew
"Drobins" < XXXX@XXXXX.COM >wrote in message
Quote

I imported an active x control called vsflex grid. It has array properties

For example in VB

grid.TextMatrix(12,12) = "Hello VB"

I can't seem to get this in Builder. I get an TextMatrix not accessible
error.

Any ideas?

-Dave



 

Re:accessing array properties in activex control

"BigStew" < XXXX@XXXXX.COM >wrote in message
Quote
Sometimes, read/write properties can be generated
as readonly by the type library importer. It generates the
getter/setter methods however so you can call set_TextMatrix()
Or just modify the TLB header file manually to make the generated property
call the setter method.
Gambit
 

{smallsort}