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