By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,504 Members | 1,187 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,504 IT Pros & Developers. It's quick & easy.

Toggle treeview visibility...

P: n/a
Check out the tree view on this page:
http://msdn2.microsoft.com/en-us/lib...webcontrols.tr...

When you hover over the border between the two frames, a tooltip
displays: "Click and drag to resize. Double click or press 't' to
toggle visibility."
I'm a bit of a newbie to javascript -- how does javascript trap the
keyboard events to perform the "...or press 't' to toggle visibility"
functionality to work?
Any pointers to examples or code snippets would be appreciated.

Dec 1 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
hzgt9b said the following on 12/1/2006 1:27 AM:
Check out the tree view on this page:
http://msdn2.microsoft.com/en-us/lib...webcontrols.tr...
When you hover over the border between the two frames,
They aren't frames.

a tooltip displays: "Click and drag to resize. Double click or press 't' to
toggle visibility."
I'm a bit of a newbie to javascript -- how does javascript trap the
keyboard events to perform the "...or press 't' to toggle visibility"
functionality to work?
document.onkeydown

Search the archives.

Don't mouse over the border, simply press t and it still hides/shows it.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Dec 1 '06 #2

P: n/a
Randy,
Thanks for the reply.

What are they using the build the treeview pane (since its not a frame)?

Dec 1 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.