Skip to content
This repository was archived by the owner on Mar 23, 2019. It is now read-only.
This repository was 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

Description

@nicoulaj

Originally filed by TimN...@gmail.com 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions