Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scrolling a disabled treeview
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00911474
Message ID:
00911764
Views:
21
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform