A simple way for user interaction is by the Msgbox function. However, this has some drawbacks as it allows only a certain button text (yes, no, OK, cancel..) and has a small button size.
In rough outside environments you may want the user not having to take the stylus (otherwise it is difficult to press the small buttons) but instead offer a simple full-screen dialog by way of a form having 2 (or some more) large buttons which can be pressed by hand, these buttons further having helpful information text.
I was not able to program such a dialog which should be as simple as the MsgBox feature and used the same way. In the example I have placed a MsgBox to show the current system. In the line ***** now marked as comments I have placed the desired sub call. But it appears there is no possibility to halt the program within DialogForm and wait for the button pressing event and then return the button number (e.g. as in MsgBox number 6 for the first and 7 for the second button) to the main program. I am aware that there are other ways to handle the problem for a specific case simply by putting the "If BtnPressed=6 Then" part from App_Start to Btn_Click but I am looking for a way to use such MsgBox-substitutes in more places so it must be generalized.
Can anyone help me?
In rough outside environments you may want the user not having to take the stylus (otherwise it is difficult to press the small buttons) but instead offer a simple full-screen dialog by way of a form having 2 (or some more) large buttons which can be pressed by hand, these buttons further having helpful information text.
I was not able to program such a dialog which should be as simple as the MsgBox feature and used the same way. In the example I have placed a MsgBox to show the current system. In the line ***** now marked as comments I have placed the desired sub call. But it appears there is no possibility to halt the program within DialogForm and wait for the button pressing event and then return the button number (e.g. as in MsgBox number 6 for the first and 7 for the second button) to the main program. I am aware that there are other ways to handle the problem for a specific case simply by putting the "If BtnPressed=6 Then" part from App_Start to Btn_Click but I am looking for a way to use such MsgBox-substitutes in more places so it must be generalized.
Can anyone help me?