Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView and KeyPress - who has it
Message
De
02/03/1998 19:33:54
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
01/03/1998 16:59:29
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00072540
Message ID:
00082192
Vues:
38
>That's weird, Dragan. I've tried the code again here and it seems to be worki ng >properly; even pressing ENTER. The only problem I found now was that seldom, w >hen clicking on a node, the MouseDown and the NodeClick events don't seem to fi >re - but the node gets selected (?!?). > >Which Vfp version are you using? Just a comment, if you're using 5.0a, you sh ou >ld also put this code in the Load of your Form to get the HitTest working pro pe >rly: > >=sys(2333,0) VFP 5.0. HitTest performs OK - I'm calling it from MouseOver to determine which node is under cursor, and refresh a textbox below the TreeView to show a message associated with each node (since there are no ToolTips for nodes), and it works perfectly. It's funny that Enter works OK if I use it to expand/collapse a node which can be expanded/collapsed; it simply doesn't react on the end node, which should call some code, and the node reacts to Space. Probably the reaction to Enter is hardcoded somewhere in the TreeView itself, so it doesn't call KeyUp, KeyDown nor KeyPress on it at all. >If you want, I can send you the Form I tested so that we can see if it works th >ere too (or, if you wish, you can send me the Form you're working on). > Suits me. I may send my form to you, too, though I think you'd have troubles starting it, it needs menu.dbf and some external procedures - still working on it and it isn't quite complete. I'll give it a couple more tries, and if it still doesn't work, you'll receive it with necessary files.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform