I have a touchscreen application that I would like to add a virtual numpad too. The user selects a button for "Keyboard" and a small form is loaded in front of the main form. I've already built the small form with the buttons for all the numbers, but I'm having trouble getting the value to the main form. I'm using something like:
...is there a method for not changing the focus really quickly to main form?Code:Private Sub btn1_Click() frmMain.mskItem.SetFocus SendKeys , "1" End Sub




Reply With Quote