User Control Fixed Size...????

Rothariger

Regular
Joined
Apr 7, 2004
Messages
66
Hello, i have a problem. i want to make a user control, with size fixed...

does anybody knows how to setup the fixed height??? like a textbox....


thanks...!!!
 
You can try to shadow the .Size, .Width, and .Height properties and in the .Resize event handler if the size is not what it should be then re-resize it back to the correct size. Unfortunately I don't know of any "proper" way to achieve the results you want, but I have done this in VB6 in the past to do the same thing.
 
Back
Top