TheSwamp

Code Red => .NET => Topic started by: velasquez on July 18, 2021, 09:00:17 AM

Title: PaletteSet
Post by: velasquez on July 18, 2021, 09:00:17 AM
Is it possible to set a maximum size in PaletteSet?
Just like MinimumSize.
Title: Re: PaletteSet
Post by: Keith™ on July 18, 2021, 09:06:18 PM
Can you capture the Resize event and override to force the size you want if it exceeds that size?
Title: Re: PaletteSet
Post by: velasquez on July 19, 2021, 07:23:53 AM
Can you capture the Resize event and override to force the size you want if it exceeds that size?

Hi Keith thanks for the reply,
I haven't tried it yet, but can this work if the platte is docked?
Title: Re: PaletteSet
Post by: velasquez on July 22, 2021, 08:12:26 AM
Can you capture the Resize event and override to force the size you want if it exceeds that size?

Thanks for the answer Keith

I'm looking for a suggestion to prevent the Palette from being resized when docked.
Is this possible?
Title: Re: PaletteSet
Post by: Keith™ on July 22, 2021, 11:50:04 AM
Can you capture the Resize event and override to force the size you want if it exceeds that size?

Thanks for the answer Keith

I'm looking for a suggestion to prevent the Palette from being resized when docked.
Is this possible?

I have one project that utilizes palettes and while they are nice tools to have, they aren't very good at maintaining their desired sizes. I'll have to dig up that code and examine it. I'll try to find time to do that and post what I find.
Title: Re: PaletteSet
Post by: velasquez on July 23, 2021, 08:42:35 AM
Can you capture the Resize event and override to force the size you want if it exceeds that size?

Thanks for the answer Keith

I'm looking for a suggestion to prevent the Palette from being resized when docked.
Is this possible?

I have one project that utilizes palettes and while they are nice tools to have, they aren't very good at maintaining their desired sizes. I'll have to dig up that code and examine it. I'll try to find time to do that and post what I find.


Thank you very much for your help.