/ Forums / Advansys Formativ / Creating Solutions with Formativ / Keep Modal-Form displaying after a Button-Event

  • Creator
    Topic
  • #4238
    griesserag
    Participant

    Hello

    How can I keep a Modal-Form displaying after a Button-Event. Following my code (snippets):

    Sub Main(Client, GWEvent)
    frmMain.ShowModal
    End Sub

    Sub btnExportClick(Sender)
    ‘button on frmMain

    ‘Do something

    ‘The Form closes here automatically
    End Sub

    Thanks for your answers

    Regards

  • Author
    Replies
  • #7568
    griesserag
    Participant

    Sorry, i have found the error. I defined the ModalResult property on the button (mrOK, etc.). It works now without the value (mrNone)

    thanks anyway

    #7569
    Support 2
    Moderator

    Good news, thanks for letting us know.

    Regards,

    Advansys Support

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