Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scrolling a disabled treeview
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00911474
Message ID:
00911764
Vues:
20
>Does anyone know if there's a way to prevent the user from moving off of the current node in a treeview, yet still be able to scroll? I've currently got the treeview disabled, but that prevents them from scrolling up to see what the parent node is. The treeview doesn't have a ReadOnly property.

I fooled with it and could not get the enabled to do anything other make the rowhighlite "look" disabled. Other nodes could be "clicked" and selected - but have a grey highlite!

Until something else pops up, it looks like a "transparent" shape would need to be sized over the treeview.
oShape.Top=oTree.Top
oShape.Height=oTree.Height-SYSMETRIC(8) && Accounts for horizontal scroll
oShape.Width=oTree.Width-SYSMETRIC(5) && Accounts for Verticle scroll
You may need to assure that the Zorder will sit it on top of your view. You might need to check (somehow) the tree for the presence scroll bars.
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform