473,406 Members | 2,769 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,406 software developers and data experts.

View object as TreeView node rather than Text (ex. Radio Button, TextBox, ComboBox)

2
I'm new to visual basic but have been playing around with extending the treenode functionalities. I found out how to make it so that after a user clicks on a node in a tree a windows object such as a radio button pops up in the location where the tree node is. The problem with that is that if the tree is really long and requires scrolling that radio button doesn't scroll with the tree. It's really an ugly work around anyways. What I want to do is... so I have the new tree node that I created. I want to make it so that when the tree loads it shows an object rather than text for the nodes.

Something like:
+ Directory
+ o Option 1
+ o Option 2
+ Text input below
+ [] <--- user can type in a TextBox
+ etc. any other Windows.Form object that I might want to render as a node to my tree

Has anyone done anything like this before? Is it possible?
Apr 4 '08 #1
2 1716
Dököll
2,364 Expert 2GB
I'm new to visual basic but have been playing around with extending the treenode functionalities. I found out how to make it so that after a user clicks on a node in a tree a windows object such as a radio button pops up in the location where the tree node is. The problem with that is that if the tree is really long and requires scrolling that radio button doesn't scroll with the tree. It's really an ugly work around anyways. What I want to do is... so I have the new tree node that I created. I want to make it so that when the tree loads it shows an object rather than text for the nodes.

Something like:
+ Directory
+ o Option 1
+ o Option 2
+ Text input below
+ [] <--- user can type in a TextBox
+ etc. any other Windows.Form object that I might want to render as a node to my tree

Has anyone done anything like this before? Is it possible?
Heiya cpup22!

Sorry for your troubles...

Do you a bit of code written by any chance? Might be helpful to take a closer look. Please post at least the part with porblem. Perhaps someone might see it passing through:-)

How's that for a deal?

Dököll
Apr 4 '08 #2
cpup22
2
Well, I have code written but it's not going to help if I post it. It's working just fine. My issue is more of a "is it possible" issue. I want a TreeView node to display an object rather than text.
Apr 4 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Michael Albanese | last post by:
I am developing an application to handle my compay's OSHA reporting requirements. Some of the input criteria are technical and narowly defined, so I was trying to prvide what i call "Context...
0
by: Saradhi | last post by:
Hi All, Here I am facing a performance problem with the TreeView Node renaming. I am displaying a hierarchy Data in a treeview in my Windows C# Application. My tree view represents an...
1
by: K Hayes | last post by:
Hi All, Newish VB.NET programmer seeking help! I have a TreeView with a node that I wish to drag and drop to a Textbox. In the Treeview_ItemDrag i have
0
by: Dan | last post by:
Issue making textbox visible based on specific input from a radio button list in an EditItemTemplate I want to setup a gridview that when in edit mode and when the user selects "Other" from a...
2
by: jw01 | last post by:
I changed my code...Now everytime i click a radio button, a text box appears...What i want is when i hit a particular radio button, the textbox should only appear next to that radio button. And if...
0
by: dancer | last post by:
Can somebody tell me why my RequiredFieldValidator works for the TEXT BOX, (location) but does NOT work for the RADIO BUTTON (EmpTrain)? <%@ Page Language="VB" ClientTarget="downlevel" %> ...
1
by: Richard | last post by:
I'm trying to mimic how the TreeView shows a full text inplace tooltip when the mouse hovers over of TreeView node whose text is truncated due to skinny form or panel. In the IDE I have...
5
by: JohnDriver | last post by:
Hi, I am having a form which has a text box and 3 radio buttons. I am using GET method in Ajax to pass the value. I can pass the value of the textbox fine but how to pass the value of radio...
3
by: shweta134 | last post by:
If i' having three radio button and want to generate event on clicking or checking of any radio button accordingly
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.