AV on closing a not maximized MDI child window

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33514
    Pontus
    Participant

    Hi!
    I've got a problem with closing MDI child windows. I've attached the source for a minimal example of the problem.

    I create a MDI child window. Ex: TForm2.Create(self);
    If I then close the MDI child using the [X] on the MDI child window (Action:=caFree;) I get an access violation.

    If the MDI child windows is maximized all is fine. Or if a free the MDI child from the main form using ActiveMDIChild.Free; all is fine regardless of WindowsState.

    Best regards,
    /Pontus

    #41511
    Support
    Keymaster

    Hi

    Thank you for the demo, problem must be solved in the nearest release.

    #41515
    Pontus
    Participant

    Hi!
    Take alook at my post
    “2 buggs in MDI Child code + source code solution {v6.53}”

    I've included the solution/source changes.

    Best regards,
    /Pontus

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.