wiln / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

Unable to determine when a MDIWindow has finished Maximizing/Restoring #345

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a MDIWindow with layout = absolute.
2. Add a control using x/y coordinates and set visible to true.
3. On minimize, hide the control (control.visible = false).
4. On Maximize/Restore, try to get the control to appear in the same location.

What is the expected output? What do you see instead?
I expect that my control would appear in the same position as it was in when 
the control was hidden. It is not. When I try to recalculate the position (the 
control is tied to another control that was created on a FormItem), sometimes 
it appears in the correct position, sometimes it does not. It appears that when 
the Maximize/Restore event fires, the event handler handles the event before it 
the window has completed maximizing/restoring. It would be helpful to have an 
event that lets you know when the window has finished maximizing/restoring.... 
MAXIMIZE_END, RESTORE_END maybe.

What version of the product are you using? On what operating system?
flexlib2.5_flex3 on Windows XP workstation.

Please provide any additional information below.

Original issue reported on code.google.com by TimN...@gmail.com on 25 Jan 2011 at 11:36