I dont like to make the enable property to false. I just want the combox to be visible and the user can show all the items in it. But will not be able to select any items from it(combo box).
Biswajit Ghosh
Posts
-
Combo box -- Locking -
Combo box -- LockingI just added three items in combo box and I made the SelectedIndex = 0. I would like to lock the combo box so that the user not be able to select other than the first item.
-
User ControlI created a user control that contains labels, textboxes and comboboxes and added it in my tabpages(4 tabpages) dynamically through programming. I created a class named clsProject and declared a read write property Name from where textboxes will get there values. e.g "txtName.Text = clsProject.Name" My Question is : I would like to display it in all my tabpages. But how could I? I would like to do this in following manner. tabcontrol1.tabpages1.textName.text = clsProject.Name tabcontrol1.tabpages2.textName.text = clsProject.Name So that I can save the corresponding tab pages text box control values in a routine name Save(), if the user changes the Name of for each tabpages. e.g. Void Save() { clsProject.Name = tabcontrol1.tabpages1.textName.text clsProject.Name = tabcontrol1.tabpages2.textName.text } Can you tell me how can I resolve this problem ?
-
User ControlI created a user control that contains labels, textboxes and comboboxes and added it in my tabpages(4 tabpages) dynamically through programming. I created a class named clsProject and declared a read write property Name from where textboxes will get there values. e.g "txtName.Text = clsProject.Name" My Question is : I would like to display it in all my tabpages. But how could I? I would like to do this in following manner. tabcontrol1.tabpages1.textName.text = clsProject.Name tabcontrol1.tabpages2.textName.text = clsProject.Name So that I can save the corresponding tab pages text box control values in a routine name Save(), if the user changes the Name of for each tabpages. e.g. Void Save() { clsProject.Name = tabcontrol1.tabpages1.textName.text clsProject.Name = tabcontrol1.tabpages2.textName.text } Can you tell me how can I resolve this problem ?
-
User ControlI created a user control that contains labels, textboxes and comboboxes and added it in my tabpages(4 tabpages) dynamically through programming. I created a class named clsProject and declared a read write property Name from where textboxes will get there values. e.g "txtName.Text = clsProject.Name" My Question is : I would like to display it in all my tabpages. But how could I? I would like to do this in following manner. tabcontrol1.tabpages1.textName.text = clsProject.Name tabcontrol1.tabpages2.textName.text = clsProject.Name So that I can save the corresponding tab pages text box control values in a routine name Save(), if the user changes the Name of for each tabpages. e.g. Void Save() { clsProject.Name = tabcontrol1.tabpages1.textName.text clsProject.Name = tabcontrol1.tabpages2.textName.text } Can you tell me how can I resolve this problem ?
-
User ControlI created a user control that contains labels, textboxes and comboboxes and added it in my tabpages(4 tabpages) dynamically through programming. I created a class named clsProject and declared a read write property Name from where textboxes will get there values. e.g "txtName.Text = clsProject.Name" My Question is : I would like to display it in all my tabpages. But how could I? I would like to do this in following manner. tabcontrol1.tabpages1.textName.text = clsProject.Name tabcontrol1.tabpages2.textName.text = clsProject.Name So that I can save the corresponding tab pages text box control values in a routine name Save(), if the user changes the Name of for each tabpages. e.g. Void Save() { clsProject.Name = tabcontrol1.tabpages1.textName.text clsProject.Name = tabcontrol1.tabpages2.textName.text } Can you tell me how can I resolve this problem ?
-
User Controlto save each other
-
User ControlI am doing a project and I just created a user control(consist of text boxes, labels and combo boxes) that added in more than one tab pages. I am being able to add the user control in the tab pages. e.g. The same user control added in three tabpages. But I would like to save the value of the text boxes of the user controls added in the respective tab pages. how could i?