Im an *******

Diesel

Contributor
Joined
Aug 18, 2003
Messages
662
Sorry if I offended anyone in the past few days.
I am an ******* and if I don't instant gratification at times I get really illogical.

Aimed Specifically @ DiverDan.
 
Diesel said:
Sorry if I offended anyone in the past few days.
I am an ******* and if I don't instant gratification at times I get really illogical.

Aimed Specifically @ DiverDan.

Yeah, that was a interesting set of posts, and I don't mean to intrude on your appology - it's good that you can recoginze that about yourself; I have the same issue at times.

Here's a working example that doesn't resize in case you still need it. I just over-rode the OnResize property and cut and paste that code Dan had mentioned on the control.
 

Attachments

Your appology is accepted Diesel. I was the same when I was young also, but, with age, have learned that when you lose your temper ...you lose. Other than that, aging sucks!

I haven't seen bri189a's code but just enter your control's width and height dimensions in the Overrides OnResize sub. I've also tried SetStyle to FixedWidth and FixedHeight in the New sub, but for some reason, it didn't seem to work.
 
I think the problem lies in the fact that common sense say FixedHeight and FixedWidth means that the control won't resize...that was my thoughts at least. But from the below text from help documentation is more of 'Don't resize the control because of font changes or any other system auto resizing'. Just an example of bad naming convention.

FixedHeight: If true, the control has a fixed width when auto-scaled. For example, if a layout operation attempts to rescale the control to accommodate a new Font, the control's Width remains unchanged.

FixedWidth: If true, the control has a fixed height when auto-scaled. For example, if a layout operation attempts to rescale the control to accommodate a new Font, the control's Height remains unchanged.
 
Back
Top