Message 1 of 6
SendStringToExecute and modeless dialog
Not applicable
03-15-2006
05:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm trying to call the command SendStringToExecute from a modeless dialog (platte), but the command only gets executed when I move the mouse cursor out of the dialog. While I do not move the cursor out of my dialog the command seems to wait.
Here is a short extract:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Application.DocumentManager.MdiActiveDocument.SendStringToExecute("_line 0,0 100,0 ", True, False, True)
End Sub
Regards, Andreas
I'm trying to call the command SendStringToExecute from a modeless dialog (platte), but the command only gets executed when I move the mouse cursor out of the dialog. While I do not move the cursor out of my dialog the command seems to wait.
Here is a short extract:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Application.DocumentManager.MdiActiveDocument.SendStringToExecute("_line 0,0 100,0 ", True, False, True)
End Sub
Regards, Andreas