I'm still a beginner at programming. I'm working on a calculator and I got it working with the buttons. How do I make my program accept mouse input (buttons) and keyboard input for typing the numbers?
Also, you know how after you click a button it has a blue outline showing that it's selected. How can I disable that?
Thanks in advance.
4 replies to this topic
#1
Posted 29 January 2011 - 04:35 PM
|
|
|
#2
Posted 29 January 2011 - 05:54 PM
Well to add numbers coresponding to the buttons is pretty easy:
To use keyboard input, the user should just be able to type into the textbox.
I have the same questions, how can I do this? :c-biggrin:
Hope this Helped. ~ Committed.
textBox1.Text += "ButtonNumberHere";This assumes you use a textBox to hold you numbers.
To use keyboard input, the user should just be able to type into the textbox.
Quote
Also, you know how after you click a button it has a blue outline showing that it's selected. How can I disable that?
Hope this Helped. ~ Committed.
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.
Science is only an educated theory, which we cannot disprove.
#3
Posted 01 February 2011 - 03:40 PM
Ok i make video and explain what said CommittedC0der.
My plans are to make C# beginers videos for newbies if you hawe some sugestions or ideas please contact me
Best regards G3n1us
My plans are to make C# beginers videos for newbies if you hawe some sugestions or ideas please contact me
Best regards G3n1us
Attached Files
#4
Posted 01 February 2011 - 03:50 PM
Hey G3n1us, why dont you post your video on YouTube or another video hosting website. Then you can post it in the video tutorials section, and people wont have to download it. Sometimes people are wherry of downloading something from such a new user.
~ Committed. ;)
~ Committed. ;)
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.
Science is only an educated theory, which we cannot disprove.
#5
Posted 01 February 2011 - 04:04 PM
I will :D thanks for answer
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top










