There is, however, a problem if you are going to use the syntax above. The syntax for using the said property is something like this: txtInput.Text = '0' To display a value in a textbox control, we will use the text property of the textbox. Like a typical calculator application, we would like to display the number in the textbox based from whatever button is clicked by the user.
Step 4: Program the Number Buttons (0-9) and Decimal Point To rename a control, go to the property window in the right side and use a naming convention like below (or create your own): Note: When creating a program, it is suggested to use a consistent naming convention to easily distinguish controls from one another at a glance.