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

Click here to load this message in the networking platform