Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with TreeView.HitTest method
Message
From
13/08/1998 14:34:29
 
 
To
13/08/1998 13:50:58
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:
00126652
Views:
19
>>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)?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform