开发者

How would I get a numeric up down to wait until user is finished typing?

开发者 https://www.devze.com 2023-02-07 04:35 出处:网络
Almost the same question as .NET --- Textbox control - wait till user is done typing but it is for a numericUpDown which says on the textChanged event:

Almost the same question as .NET --- Textbox control - wait till user is done typing

but it is for a numericUpDown which says on the textChanged event:

(This event supports the .NET Framework infrastructure and is not intended to be used directly 开发者_如何学Cfrom your code.)

. I want a user to be able to type a number and if another key is not pressed after an interval (500ms for example) the valueChanged event fires (or a custom method call is made).

I'd really rather not go back to using a textbox with a vscroll bar, hopefully there is a way or... the MSDN warning isn't justified for this use case?


Use ValueChanged.

0

精彩评论

暂无评论...
验证码 换一张
取 消