Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview.object.selecteditem GPFs
Message
De
02/09/1998 09:12:01
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00129281
Message ID:
00132302
Vues:
24
>
>You can start by explicitly referencing the proper controls:
>
>TreeCtl.ComCtl32.1 Old one
>TreeCtl.ComCtl32.2 New one
>
>instead of the version independent ones.

That's a good start. I'll try that today.

>As to the HitTest problem - if you're getting a Node object then the
>code should be working. If you don't well then you need to add special
>checks to make sure you get an object.
>
>I know I use the above twips conversion and hittest without any problems.
>Maybe you need to step through your code to see if possibly some other
>event is firing giving you the error you're seeing.

No, it was always the MouseMove, when it called HitTest. I'll run a series of tests over this. Thanks for the info - even without this version issue, the TreeView was always somewhat tricky, so I just had to get as much knowledge from others before digging into it.

[later]
Found it - it says my old TreeView is 5.0 SP2, and my VFP is 5.0 (no SP - I just wander what installed it and when). I've tried using the TVw 6.0 in VFP5.0, no good. Works, sort of, but doesn't react to clicks and keys. Funny, though, the TVw 5.0SP2 works nice in VFP6... you're right, no need to get started on this, we'd suffocate the audience.

I think I'll just reinstall the old TVw and keep the 6.0 for VFP6 alone, until I obtain the SP2 for the VFP5.

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
Répondre
Fil
Voir

Click here to load this message in the networking platform