I'm making a calculator for computing homework, using a 2 text field entry system.
I dont know how to make the buttons enter the characters in the text box the cursor is in, at the moment it automatically does 1 because of the code, help much appreciated.
For eg, buttons representing 3, and 4, codes of which are:
Private Sub Button13_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button13.Click TextBox1.Text = TextBox1.Text + "3" End Sub Private Sub Button14_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button14.Click TextBox1.Text = TextBox1.Text + "4" End Sub
This post has been edited by technoatticus: 10 October 2008 - 01:29 PM