Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with TreeView.HitTest method
Message
De
13/08/1998 14:34:29
 
 
À
13/08/1998 13:50:58
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00126288
Message ID:
00126652
Vues:
18
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform