how to resize the textbox control with runtime events in c# using c# winforms
naren7
-1
Newbie Poster
Recommended Answers
Jump to PostSomething like:
textBox1.KeyPress += new KeyPressEventHandler(textBox1_KeyPress); private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { textBox1.Width = 20; }
Thanks
All 4 Replies
farooqaaa
48
Enthusiast
naren7
-1
Newbie Poster
farooqaaa
48
Enthusiast
sknake
1,622
Senior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.