more 3.04 bugs found

Started by Robert Rioja, December 07, 2009, 12:37:24 PM

Previous topic - Next topic

Robert Rioja

I have attached a simple project that does not work with 3.04.  It contains a main form with a tab control.  Then there is one form for each tab.  Each of these forms have one or more controls.  The second tab is the default active tab.  When you run the program, the first tab appears instead of the second tab, but the controls from the second tab are visible.  The controls on the last two tabs never appear.

I am sorry to say that 3.04 seems to have many problems.


Rolf Brandt

Hello Robert,

first of all not all tabs were assigned the specific forms. Then on some you have just Frame1, change the caption and you will see the forms are properly loaded.

The only FF3 fault I was able to observe is that the contents of Tab2 are shown but the header of Tab1 is active at start. Once you start clicking through the tabs they all work.
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Paul Squires

Hi Robert,

i think that Rolf is right on this one. You had a couple of forms that were not assigned to the tab control. However, you are correct that FF3 was not setting the default tab to be the second one. I have fixed the code generation to rectify this. In the meantime, you simply need to modify your WM_CREATE for your main form to manually set the start tab.


'--------------------------------------------------------------------------------
Function FRMMAIN_WM_CREATE ( _
                           hWndForm As Dword, _      ' handle of Form
                           ByVal UserData As Long _  ' optional user defined Long value
                           ) As Long

   TabCtrl_SetCurSel HWND_FRMMAIN_TABMAIN, 1

End Function

Paul Squires
PlanetSquires Software

Robert Rioja

I assigned the forms to the tab control.  Now every time I try to compile FF crashes.  I have to use Task Manager to End Task.  Others have noticed the same problem.  Once FF crashes trying to compile a project, you can never compile that project ever again.  So far, I have not been able to use 3.04 successfully, not even once.  It breaks my heart, but I will have to uninstall it and go back to 2.99.  I attached the project again, after assigning the forms to the tab control.  Please try to compile it and see what happens.

Thanks



Marc van Cauwenberghe

Well,

It does crash. Do not know what is wrong with it?

Marc

Rolf Brandt

I had the crashes too. After I assigned Tab1 as active Tab and saved manually I was able to compile without problems.
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Rolf Brandt

#6
I just downloaded Pauls version and experienced the crashes again.

Then I opened the customs dialog of the Tab control, went through each tab without changing anything except setting Tab1 as active. Next I opened all forms to the  designer. Saved. Compiled. Worked!

Maybe something is not set properly if it comes from a different machine.

Don't give up on FF3, it's so much more comfortable then FF2. I just redisigned my SQLitening database manager project to work with Tabs and Tab in Tab, and it works flawlessly.
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Gary Stout

Quote from: Rolf Brandt on December 07, 2009, 03:21:52 PM

Don't give up on FF3, it's so much more comfortable then FF2.


I agree with that! Paul is working very hard to correct issues as they arise and has even added newly requested features since its release. I am confident that he will find the problem.

Hang in there....
Gary

Robert Rioja

I will have to wait until the bugs are fixed.  Until then, I have reverted to FF 2.

Robert

Paul Squires

Hi Robert,

Sorry to hear that you're having trouble. I know how frustrating it must be. I downloaded your sample and at first it crashed for me as well (it is the zOrder problem that we identified earlier). Once I clicked on each top tab to display each form then compiling occurred without any trouble (that's because showing the form triggers the code to recalculate the tab order and zorders). Granted, you probably don't have the most recent FF3 exe that does this so showing each form may not work for you like it worked for me.

I will create a test package of the latest files and upload to this forum so you, and anyone else, can test to verify that it corrects the zorder problem (which is probably the worst FF problem that I've dealt with in four years of FireFly).
Paul Squires
PlanetSquires Software

Gary Stout

Paul,

Just curious if you have a rough idea when you expect to release 3.05? Not trying to pin you down to anything definite....just anxious to get a few of the things you have fixed that apply to me  ;D

Thanks,
Gary

Paul Squires

Hi Gary,

No problem - I will upload a preview tonight for those wanting to work with the cutting edge files. I will hold off on an "official" release until some people have tested it. It is mostly bug fixes in this one.
Paul Squires
PlanetSquires Software

Gary Stout

Sounds Great Paul!!!  I am anxious for the auto-size of child tabs when using the double borders  ;D

Paul Squires

Paul Squires
PlanetSquires Software