Author Topic: ED.StartUserInteraction problem - form closes unexpectedly  (Read 1427 times)

0 Members and 1 Guest are viewing this topic.

neyton

  • Newt
  • Posts: 68
ED.StartUserInteraction problem - form closes unexpectedly
« on: June 29, 2016, 10:48:32 AM »
Hello, I'm having problem with ED.StartUserInteraction.

When WindowsForm (modal form) is maximized and I click the button that requires data on the command line, the WindowsForms closes unexpectedly.

I tried to work around the problem with the event below, but it still fails:

Private Sub me_FormClosing (sd As Object, evt The FormClosingEventArgs) Handles Me.FormClosing
If evt.CloseReason = CloseReason.None Then
MsgBox ("FormClosing User Intercation Error ...")
evt.Cancel = True 'try to cancel "close"

end If
end Sub
Visit my website: http://tbn2.blogspot.com