Custom Control Height Property

  • Thread starter Thread starter Rob
  • Start date Start date
R

Rob

I am creating a custom control. As part of this I want to lock the
height of the control at design time, much like a textBox control when
first placed on a form. How can this be accomplished?

-Rob-
 
I am creating a custom control. As part of this I want to lock the
height of the control at design time, much like a textBox control when
first placed on a form. How can this be accomplished?

-Rob-

Trap the resize event and re-set the height there to what you
want it to be.
 

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

Back
Top