Note that there are some explanatory texts on larger screens.

plurals
  1. POLost a Control on a WinForm
    primarykey
    data
    text
    <p>I've been recursively refining a UI with visual Studio 2008, and I seem to have lost a control underneath the myriad layers of other controls. the project <em>is</em> checked into our version control software (I check in after I make a substantial enough change - for instance moving something around on or adding to the UI, or adding a method).</p> <p>The refining of the UI has come directly from the boss, and he loves to move things around as we're discussing any changes that need to be made - which isn't that bad, I suppose. I check in before he starts faffing, and write down everything he does (in case we need to re-create it), then if nothing major has changed check the UI out again.</p> <p>I suppose that I should mention that I'm using .Net 3.5 (because we can't upgrade to VS2010, yet) and C#, with a few custom controls (but most of them are the built-in .NET ones).</p> <p>Somewhere down the line, I've lost a text box control. It's still listed in the Form properties window, and I can still select it from there. But when I look over at the form, there doesn't seem to be anything highlighted.</p> <p>I've moved most of the controls around (where possible, as some of them are docked to sides of the form, or each other. Bad UI design, I know. But that's how the boss wanted it) and re-ordered them (send to back/front), and can get all the way back down to the background of the form (in most places). But I still can't find it.</p> <p>At this point, I'm inclined to delete/remove the control from the form and start again with it rather than find it and move it into the new position. But, since I can't seem to find it, I'm not sure if I can.</p> <p>Is it possible to delete the control in some way other than selecting it and hitting the delete key? I'd rather not have to jump back to an older version of the UI as I've made that many small changes, recently (and checked in after each one) and I have no idea when this text box got lost.</p> <p><strong>EDIT:</strong></p> <p>In case it's useful, here are some of the properties of the text box control:</p> <ul> <li>Size: 356, 0</li> <li>Location: 1, 1</li> <li>Multiline: True</li> <li>Text: </li> <li>Dock: Fill</li> </ul> <p>I've added text to the text property, and moved everything again and still can't find it. I've also been messing around with the Dock property in an effort to move it around the form to make it easier to find.</p> <p>Also, most of the UI uses group boxes and panels, as I've found it easier to hide and disable/show and enable groups of controls as and when needed that way.</p> <p><strong>EDIT 2:</strong></p> <p>The text boxes properties are now (based on some helpful suggestions in the answers):</p> <ul> <li>Size: 356, 150</li> <li>Location: 150, 150</li> <li>Dock: None</li> <li>Multiline: True</li> <li>Text: "Where are you?"</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload