Hi
I am using the TList6 control from Bennet-tec. It allows a special index to be passed to the ItemTag property. The index is -3 which points to the last node added to the list. However, VFP reports this as an Invalid Subscript Reference.
The code I am using is shown below. It was part of a test to see how quickly a table could be loaded into the treeview control.
With This.navList.Object
.Redraw=.F.
.Clear
scan
.AddItem(ARMaster.Id1)
.ItemTag(-3)=ARMaster.ID
EndScan
.ListIndex=0
.Redraw=.T.
EndWith
Why would VFP report the error when the ItemTag property is part of the ActiveX control and not VFP?
Thanks
Simon
Simon White
dCipher Computing