How can I let the arrow keys perform keydown and keypress events?

xiaoxiao2021-04-09  478

If it is form, overload this ///

/// decision to use special key /// /// /// protected {if (keydata == keys.up || keydata == keys.down || keydata == keys.d || keydata == keys.right) Return True; Elsereturn Base.isinputKey (KeyData);} If it is a control, derive a control from this control, and then overload this, this is the reason

转载请注明原文地址:https://www.9cbs.com/read-133187.html

New Post(0)