PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Batsheva Asaph on January 09, 2012, 06:44:22 PM

Title: FireSplitter Min/Max size
Post by: Batsheva Asaph on January 09, 2012, 06:44:22 PM
Hi,

Does anyone have any example showing how to have min/max sizes of a particular panel being resized.

Thanks
Title: Re: FireSplitter Min/Max size
Post by: Paul Squires on January 10, 2012, 06:06:52 PM
Hi Batsheva,

There is no automatic built in way to limit the min/max sizes of the panels being resized. You would need to modify the FireSplitter source code to add messages to set the min/max size (and store them in the FF_SPLITTER_DATA structure). Then, in the FF_Splitter_Resize function in the source code you would test against the user supplied min/max values.
Title: Re: FireSplitter Min/Max size
Post by: Batsheva Asaph on January 11, 2012, 10:10:06 AM
I'll try it out.

Thanks
Title: Re: FireSplitter Min/Max size
Post by: Batsheva Asaph on January 15, 2012, 04:47:36 PM
Hi Paul,

I'll come back to it later.

It was something very small and "ODBC Query Tool" behaved exactly as I wanted so I used that as a basis for now.

http://www.kaimon.cl/contenido/software/odbc-query-tool/ (http://www.kaimon.cl/contenido/software/odbc-query-tool/)

Even though I never needed to do it before maybe you may consider adding min/max for each of the ChildForms in a future release.

And Yes I was sort of worried changing your code.

Thanks,
Batsheva