PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Rolf Brandt on February 26, 2007, 03:08:16 AM

Title: Statusbar Panel AutoSize
Post by: Rolf Brandt on February 26, 2007, 03:08:16 AM
Hello,

I have a statusbar with 4 panels on a form. I am trying to set the first one to AutoSize = 1 in the statusbar editor. But it refuses to accept it and always jumps back to 0. (It didn't stick out the tongue at me yet!)

What am I doing wrong?

Rolf Brandt
Title: Re: Statusbar Panel AutoSize
Post by: Rolf Brandt on February 28, 2007, 10:13:24 AM
I noticed that I can set the last panel to AutoSize. Is it by Default so that you can only use the last one for Autosizing?

Rolf
Title: Statusbar Panel AutoSize
Post by: TechSupport on February 28, 2007, 10:37:40 PM
hmmmm...... not sure. It's been a long, long time since I looked at the StatusBar Editor. I will check into it tomorrow (I just got back from a business trip a few minutes ago - I'm a little tired now.)
Title: Statusbar Panel AutoSize
Post by: Rolf Brandt on March 03, 2007, 09:38:10 AM
Hello Paul,

did you have a chance to check the statusbar code already?

Greetings
Rolf
Title: Statusbar Panel AutoSize
Post by: TechSupport on March 03, 2007, 10:27:38 AM
It does appear to be broken. :(   I am working on a fix right now. Hopefully I can upload a new EXE as soon as possible. Hang in there.
Title: Statusbar Panel AutoSize
Post by: Rolf Brandt on March 03, 2007, 10:41:51 AM
Thank you very much! I appreciate your quick response.

Rolf
Title: Statusbar Panel AutoSize
Post by: TechSupport on March 03, 2007, 12:06:53 PM
Hi Rolf,

I worked on the code this morning. Yeah, it was screwed up pretty bad. Actually, this is code that I borrowed from Ray King in the very early days of FireFly 1. It is good that it is now fixed because it will make the transition to FireFly 3 that much easier (it just so happens that the Statusbar Editor and StatusBar code generation is the next thing to do for FireFly 3). :)

The new code allows setting more than one autosize panel. The generated code now computes the panel sizes every time the form changes size. If more than one panel has AutoSize = TRUE then the excess width is divided/shared equally among those panels.

I have uploaded a new FFengine.exe for you to try. If it works okay then I will make a new FireFly setup for all FireFly users. It has been a while since all minor changes to the FireFly setup have been consolidated into a complete download.

http://www.planetsquires.com/files/FFengine.zip
Title: Statusbar Panel AutoSize
Post by: Roger Garstang on March 03, 2007, 12:18:59 PM
Cool, did this also fix the weird font glitch where sometimes coming back from it the font is bold in the form view and other weird things, or is that the font selection box messing it up?  That and the default checkbox/radiobutton check settings changing were from sometime back, but never sure if they got fixed since I don't see them much anymore.
Title: Statusbar Panel AutoSize
Post by: Rolf Brandt on March 03, 2007, 12:36:22 PM
Hello Paul,

that did it! Works absolutely fine right now.

I have been browsing through the Forum a lot during the last couple of days and noticed how many people commended you for the quick help from your side.

I can only add to that! Thanks again.

Rolf
Title: Statusbar Panel AutoSize
Post by: TechSupport on March 03, 2007, 01:31:11 PM
You're very welcome! I try to fix things as fast as I can. You can imagine just how large and complicated a program like FireFly is - there are many places where things can go wrong. The best thing about FireFly 3 is that I can implement all of my lessons learned and use new programming techniques that I have learned over the last couple of years.
Title: Statusbar Panel AutoSize
Post by: TechSupport on March 03, 2007, 01:32:22 PM
Quote from: Roger GarstangCool, did this also fix the weird font glitch where sometimes coming back from it the font is bold in the form view and other weird things, or is that the font selection box messing it up?  That and the default checkbox/radiobutton check settings changing were from sometime back, but never sure if they got fixed since I don't see them much anymore.
Not really sure about the font problem. I do remember it from long ago. I will keep my eyes open for it.  :)

Roger, nice to have you around here again. You seemed to disappear for a while.  :)
Title: Statusbar Panel AutoSize
Post by: Roger Garstang on March 05, 2007, 10:02:21 AM
I've been watching still.  Just got really busy there for a while...would have been even busier had I not used FireFly for my projects.  I can't wait for FireFly 3 too!