Bug in MDI app???

Started by Rolf Brandt, November 18, 2009, 09:42:36 AM

Previous topic - Next topic

Rolf Brandt

I encountered the following problem:

I started an MDI application. I have just one MDIForm and one MDIClient form. As soon as I add a command button to the client form problems start. When I run the app and load the client form the program freezes after a few mouse clicks.

I tried this also with the MDI sample project. Same behavior.

Did someone else experience this?

Rolf
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

#1
I tried to use an ImageButton, XPThemedButton, or RRButton instead - same problem!

Rolf
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

#2
I just thought I found a very simple "solution" to this.

It seemed this happens only as long as you have no code yet in the click event. As soon as you add something like
   MsgBox "Bingo"
or any other code to it the app does not seem to freeze any longer.

But unfortunately it still freezes.

Rolf
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 Rolf,

I am not 100% clear on what the problem is. When an MDIForm is created (ie. the "Frame" window), FF3 automatically handles the creation of the MDI Client (you can see it on the PropertyList for the MDI Form listed as (MDIClient)).

I am assuming that that you mean MDI child windows (rather than the client window).

Can you post an example or email me an example fo the problem? I never use MDI applications anymore so I am a bit lost regarding the steps you are using to duplicate the problem.


Paul Squires
PlanetSquires Software

Rolf Brandt

Sorry, I meant child and not client of course.

To reproduce the problem you can use the MDIEditor Example that comes with FF3. Add a button to frmDocument, compile, click New. After a few mouse clicks in the text box the app will freeze.

Rolf
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

#5
This bug is now fixed. Related to bug reported here: http://www.planetsquires.com/protect/forum/index.php?topic=2175.0

Fix will be in v3.05.
Paul Squires
PlanetSquires Software

Rolf Brandt

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)