AC 14.29 acPopupController behaves wrongly

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #38340
    HeDiBo
    Participant

    The attached project shows the problem.

    If a popup form creates a modal form itself, the popup form closes if anything is clicked on the modal form.

    [attachment=9446:acAbstractError.zip]

    #59826
    HeDiBo
    Participant

    You can disable the unwanted close by modifying the code in the popup form as follows:

    Code:
    with GetIntController do begin
    ClosingForbide(Self);
    end{with};
    AbErr_Popup_Sub := TAbErr_Popup_Sub.Create(Self);
    AbErr_Popup_Sub.ShowModal;
    with GetIntController do begin
    ClosingAllow(Self);
    end{with};
    Self.Close;

    but that does not work for clicks on the title bar of the TAbErr_Popup_Sub window.

    #59828
    Support
    Keymaster
    'HeDiBo' wrote:
    but that does not work for clicks on the title bar of the TAbErr_Popup_Sub window.

    I will fix it in the v14.30, form will not be closed if “ClosingForbide” used.

    #59858
    HeDiBo
    Participant
    'Support' wrote:

    I will fix it in the v14.30, form will not be closed if “ClosingForbide” used.

    It's solved now 🎉

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘AC 14.29 acPopupController behaves wrongly’ is closed to new replies.