Hello,
Why does DoubleUpDown control needs two clicks to fire GotMouseCapture event?
Comments: ** Comment from web user: BoucherS **
Why does DoubleUpDown control needs two clicks to fire GotMouseCapture event?
Comments: ** Comment from web user: BoucherS **
Hi,
Make sure the DoubleUpDown.AutoSelectBehavior is "Never' and the obsolete (but still working) DoubleUpDown.SelectAllOnGotFocus is "False".
To be able to do a "SelectAll" when the DoubleUpDown gets the focus, the event received in a callback needs to be handled. This prevent from bubbling and raise the GotMouseCapture event from a base class.