locked
NumericUpDown control - how to disable arrows? RRS feed

  • Question

  •  

    Is there any way to disable arrows?

     

    I don`t want use Enable property because then user can not copy text from control (all control is disabled).

    I can set ReadOnly to true and set Incremant to 0 but still this arrows are enabled and user can clicks on them - it doesn`t look well.

     

    Friday, August 29, 2008 11:04 AM

Answers

  • NumericUpDown1.Controls(0).Enabled = False

    Friday, August 29, 2008 11:52 AM