Statusbar Panel AutoSize

Started by Rolf Brandt, February 26, 2007, 03:08:16 AM

Previous topic - Next topic

Rolf Brandt

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

Rolf Brandt

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

TechSupport

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.)

Rolf Brandt

Hello Paul,

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

Greetings
Rolf

TechSupport

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.

Rolf Brandt

Thank you very much! I appreciate your quick response.

Rolf

TechSupport

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

Roger Garstang

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.

Rolf Brandt

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

TechSupport

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.

TechSupport

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.  :)

Roger Garstang

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!