Skip to content
This repository has been archived by the owner on Mar 23, 2019. It is now read-only.

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

Open
nicoulaj opened this issue Jun 19, 2011 · 0 comments
Open

Comments

@nicoulaj
Copy link
Member

Originally filed by [email protected] on 2011-01-25T23:36:47

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant