Disappearing frames

Started by rrioja, September 01, 2009, 02:47:00 PM

Previous topic - Next topic

rrioja

I found a bug in FireFly 2.99 that is very easy to recreate.

New project, new form, add a frame, and a text box.  It does not matter if the text box is in the frame or not.  Then go to the window styles properties of the text box and check ES_NUMBER.  Now run the program and enter a non-number into the text box.  A pop-up will appear telling you that you entered an incorrect number.  Now click on the pop-up's X to get rid of it, and the frame will disappear !!!  If you have several frames in the form, they will all disappear.  You can bring them back by resizing the form.

Does anyone have a solution?

TechSupport

Thanks Robert - I'll check into it to see if I can recreate it and fix it.


Roger Garstang

This has been around for a while.  Same issue happens with password boxes and you have the caps lock on...these are both new features of XP Themes.  I think the solution for me was turning off themes or turning off the vert/horz redraw check boxes in the class styles.  I mentioned the redraw of frames, listviews, and statusbars in general flickering on resizing the window in another location as something to look at...perhaps when he figures out how to stop that this will fall into place too.

Roger Garstang

Looks like these threads all relate to the issue:

http://planetsquires.com/support/index.php?topic=975.0

http://planetsquires.com/support/index.php?topic=2203.0

http://planetsquires.com/support/index.php?topic=1932.0

And, it appears my fix was clip styles not redraw.  There was another thread I saw in searching for this about an issue redrawing frames and labels with transparent backgrounds that was fixed and could need looked at further or maybe even be the cause?  Either way, the XP Tooltip is a little odd in how it forces a redraw the way it does.  None of my tooltips do this.