Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with property in ActveX
Message
From
08/12/2000 16:54:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Problem with property in ActveX
Miscellaneous
Thread ID:
00451009
Message ID:
00451009
Views:
76
Hello everybody.


I've got strange problem with setting a property of ActiveX (Bennet-Tec Tlist 6). It is the control similar to MS Treeview and they reference nodes via node index to set up properties of nodes like image, text, plus/minus sign and so on.

Basically, the call syntax is thisform.tlist.SomeProperty(ItemIndex) = somevalue
and there is a problem. When I perform this command, then for some of properties I got an VFP error "Invalid subscript reference" when Itemindex is larger than 65535. I guess that VFP thinks that thisform.tlist.SomeProperty(ItemIndex) is array reference (which is not!) and generates this error.
I've tried thisform.tlist.object.SomeProperty(ItemIndex) syntax but it doesn't change anything... It happens only with a few of properties. other properties with similar syntax working properly for any value of ItemIndex..


Please, help me to solve this mystery.
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer
Next
Reply
Map
View

Click here to load this message in the networking platform