NNumericUpDown hiding up/down arrows or make them larger


Author
Message
Lou Laskey
Lou Laskey
Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)
Group: Forum Members
Posts: 24, Visits: 2

When using the NNumericUpDown control on a touch screen, the arrows are not that easy for customers to use even by setting a large font. 

To get around this in the library I am replacing, the numeric control included a property to hide the arrows and I included it in a user control that had arrow buttons of my design.

Yes I could make a user control with a text box and intercept the keys etc to keep the numeric format but I would prefer to use what's already available (if it is) including the numeric formatting.

Any ideas would be appreciated.

TIA,

Lou


Reply
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hello Lou,

Searching for an answer to your question, I saw that NumericUpDown control (NNumericUpDown is a subclass of NumericUpDown) has internally set the width of up/down button to a constant value, which cannot be changed.

Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search