c# 3.0 - Transform a listbox to textbox -


When I'm clicking on a checkbox, I want to change a list box into a text box. To explain, I have a list list in which the address is included, and if no address is in the list then another can be clicked on a checkbox called 'second address' so that it can be placed in another address. Thanks for your reply ...

ListBox and text box

  1. Controls> Controls over each other in your form layout.

  2. Set

    textbox.Visibility = false by default (on form load).

  3. When the checkbox. Click on set listBox.Visible =! Checkboxes. Checked and textbox.Visible = checkbox checked .


Comments