VB.NET

  • Thread starter Thread starter prashant
  • Start date Start date
P

prashant

i want to add textbox in list box, the text box will appear only when
i will select any item of listbox
 
i want to add textbox in list box, the text box will appear only when
i will select any item of listbox

Have you considered using a ListView instead? It has built-in support
for editing the label of an item.


Mattias
 
Handle the "OnClick" event of the list box. In this event, create a new
textbox via code (dim txt as New TextBox), position it and do with it as you
will. You will probably need to create a handler for whatever events you
need to capture with this text box and add them dynamically (addhandler
function).

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top