473,322 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

TreeView Navigation

I have a TreeView on my app and I want to use the arrows to navigate in
it but every time i click on one of the nodes and then press an arrow
the TreeView losses focus and I am forced to click him again how can I
resolve this?

THX

Nov 17 '05 #1
5 2251
Zamolxe,

Are you doing something in the click event of the treeview which is
causing another control to gain focus?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Zamolxe" <Ra*******@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
I have a TreeView on my app and I want to use the arrows to navigate in
it but every time i click on one of the nodes and then press an arrow
the TreeView losses focus and I am forced to click him again how can I
resolve this?

THX

Nov 17 '05 #2
Zamolxe,

Are you doing something in the click event handler which is causing
another control to obtain focus?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Zamolxe" <Ra*******@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
I have a TreeView on my app and I want to use the arrows to navigate in
it but every time i click on one of the nodes and then press an arrow
the TreeView losses focus and I am forced to click him again how can I
resolve this?

THX

Nov 17 '05 #3
Yes
after I haved pressed the node in a richTextBox is displayed something
SO how can I resolve this?

Nov 17 '05 #4
Zamolxe,

Chances are this is the culprit. I would look at the event handler and
determine which call to the rich text box is causing you to lose the focus.
Then, work around it. In the worst case, you can always call the Focus
method on the control to get focus back (after you work on the rich text
view).

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Zamolxe" <Ra*******@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Yes
after I haved pressed the node in a richTextBox is displayed something
SO how can I resolve this?

Nov 17 '05 #5
Thx I will try it...

Nov 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

42
by: lauren quantrell | last post by:
So many postings on not to use the treeview control, but nothing recently. Is it safe to swim there yet with Access 2000-Access 2003?
2
by: Charlie | last post by:
Hi: I need to implement TreeView in my asp.net application. Does asp.net include one natively or do I have to use a 3rd party control? Any recommendations for a 3rd party TreeView control? ...
4
by: Andrew Robinson | last post by:
I am using a TreeView to perform navigation and have a few nodes that need to generate a popup menu. For this, I use the SelectedNodeChanged event and then add the relevant "window.open" script to...
0
by: mfr | last post by:
My website uses a TreeView control, linked to the web.sitemap for navigation. I'm also using cookieless Sessions. Even though I'm storing relative paths in my Sitemap, the tree view is...
4
by: Pål Andreassen | last post by:
We are using a TreeView defined in a MasterPage for navigation. The tree holds it's state turing postbacks just fine since it's using viewstate. But whenever a node click results in a redirect to a...
5
by: david | last post by:
I do not know if there is a treeView control for web form in .NET 1.1. I know there is IE Webcontrol package which has the treeview control for ..net 1.0. I have tested it in .net 1.1 before. It...
6
by: cyriel1920 | last post by:
Hi, I use the selectednodestyle with a white background so the user can see which item was chosen in the treeview navigation. The nodes have a navigateURL with a target to another frame....
0
by: noneya22 | last post by:
I want to use a TreeView control as a one-level, vertical navigation menu. I'm using this control currently with a SiteMapDataSource and .sitemap file. I've written code that associates an image...
1
by: Nikron | last post by:
Hi, I'm having an issue with the ASP.NET 2.0 Treeview control and persisting its' state accross requests. My Control is embedded within a master page and is used for site navigation. My problem...
0
by: vingomail | last post by:
Good Morning, I have two site map: "common.sitemap, loginuser.sitemap", two master page:" common.master, loginuser.master", in common.master, there is a Navigation control: TreeView...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.