General information
Category:
Coding, syntax & commands
>>>I can't seem to get the HitTest method of a TreeView to work. I keep getting "Invalid type" errors on the numbers that I pass to it, and then I get "Array dimensions out of bounds" errors, on the method call itself. I've converted the X & Y coordinates in the MouseDown method to twips, and then call this.HitTest(lnX,lnY) from the MouseDown method. Any ideas?
>>
>>Hi Fred,
>>
>>Did you type the following code in the Load of your form?
>>
>>=sys(2333, 0)
>
>Thanks, Renato, that did the trick. Do I need to turn it back on later (SYS(2333,1)?
Well, I really don´t know. As you may have seen, the help file doesn´t say much about it (and I also haven´t searched for more information on this subject yet). The help says this command is used to enable/disable active-x dual interface (??). So, except if you begin to have problems with another active-x control in your form, I don´t see any reason to turn it back...
Previous
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