Can you hack numericupdown's to change button width?
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Can you hack numericupdown's to change the arrow button's width? or do you have to make one from scratch if you want bigger buttons?
-
Can you hack numericupdown's to change the arrow button's width? or do you have to make one from scratch if you want bigger buttons?
You won't be able to hack the arrow button's width. The method PositionControls() in the UpDownBase class determines it's width. This class is private and would override any possible hacks. Your best option would probably be to build a UserControl using a TextBox and two Buttons.
Take care, Tom ----------------------------------------------- Check out my blog at http://tjoe.wordpress.com