Solved

Displaying a Textbox inside a CheckedListBox

Posted on 2004-09-17
3
293 Views
Last Modified: 2008-02-01
I have a CheckedListBox that I add a simple class to (the class has a "Field" and "Label" properties) and I then set the ValueMember and Display.  This works great for add simple text to the CheckListBox but now I would like to add a new item that is a TextBox to the CheckedListBox so that the user can edit the value in the CheckedListBox and then check it.

Is there a quick way to do this?
0
Comment
Question by:hotshottools
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 125 total points
ID: 12103175
Yes, you could do something like this:

    Dim textBox1 As New TextBox
    textBox1.Text = "Test"

    Me.CheckedListBox1.Controls.Add(TextBox1)

You would have to keep the position of the textbox up-to-date when the CheckedListBox is scrolled.

Bob
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question