Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with TreeView.HitTest method
Message
From
13/08/1998 16:53:11
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brazil
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00126288
Message ID:
00126710
Views:
27
>>>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
Map
View

Click here to load this message in the networking platform