Visual Inheritance classic, but gets mixed up

G

Guest

Hi,

I'm using the following visual inheritance classic: base form with two
buttons 'apply' and 'cancel' anchored to the bottom right corner. You inherit
this base form and resize the inherited form, the buttons move along.
At least most of the time, sometimes the buttons do not anchor to the
borders of the inherited form but appear at a random other location on the
form.

A workaround is to remove the code
this.ClientSize = new System.Drawing.Size(529, 312);
from the inherited form and resize it in the designer to its original specs.

Does a solution exist, instead of this workaround ?

Best regards,

Nico
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top