Windows Develop Bookmark and Share   
 index > Windows Forms General > Controls collection
 

Controls collection

Hello,

I have put a label and a textbox in a textbox controls collection. I set the properties of the label and textbox in design time and all seems fine, but when I start the application the outer textbox is empty and  doesn't allow to be edited. Why is this happening?

Thanks
MigrationUser 1  Monday, November 15, 2004 3:46 PM
I don't know the size or layout of your controls, but is it possible that the child controls are simply obscuring the view of the parent TextBox?  The TextBox will not flow text around child controls; it will simply draw the text "under" them.  Also, if the caret is under one of the child controls, it will appear that the parent TextBox is not receiving focus when clicked.
MigrationUser 1  Monday, November 15, 2004 9:57 PM

You can use google to search for other answers

Custom Search

More Threads

• CheckedListBox question
• Any shortcut to passing a form as an argument?
• DefaultCredentials = null
• O/R mapping tools
• kill a suspended thread
• changing tabitem's location in tabcontrol
• Dynamically Reference Controls
• NumericUpDown box overwriting other memory
• Tab Page Content and Text disappeared
• Hidden Forms?