Morten Wennevik wrote:
An alternative method is to replace the Point in Location with a new
Point, for instance the Location of another control.
textBox1.Location = comboBox1.Location;
Agreed. This is what I would do. If you have to make some modifications
to the location, say 10 pixels to the right of the combo box and 4
pixels down, use a construction like:
textBox1.Location = new Point(comboBox.Location.X + 10,
comboBox.Location.Y + 4);
or perhaps it's nicer to read:
textBox1.Location = new Point(comboBox.Left + 10, comboBox.Top + 4);