Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView.HitTest returns invalid reference
Message
De
04/03/2004 01:26:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00882283
Message ID:
00882991
Vues:
21
>Great! You can use shift and ctrl keys in conjunction with mouse clicks. Fire happens on the mouse up!
>
>The V.5 Treeview will XP theme with VFP 8. Is it "theming" with VFP 5?
>

You mean the (Windows) appearance or the VFP settings? That's interesting. Have yet to pay attention to that or not aware that VFP5 have "themes". But I do observe the 3D turns "flat" when the active form loses the focus to another dialog box - maybe something to do with the VTable ot Autoyield thing - will check that out later. The scrollbars definitely "themes" with XP's scrollbar, after all it's windows controls. Indents also cannot be less than 25.00 - otherwise no effect. Also FOrm.Keypreview is ineffective, so I have to put seperate codes in Form.Keypress & TV.KeyPress. But I do know that HitTest() with large values crashes the app. Other than that it's stabler than some other ActiveX controls I've used.

One nice thing about the TV is the node's "key" member. That's useful if I want to cross-reference the node to different entities. Say, I've got (1)Manager-(2)Supervisor-(3)Employee. I use "Manager_"+BINTOC(Manager.Manager_ID) for the key and "Supervis"+BINTOC(Supervisor.Supervisor_ID). Click on the node, and interpreting Node.Key tells me which record from which table to look at.
Kenneth.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform