約11,500,000件1ページ目

日本語のみで絞り込む

2013/4/24 -This is very good workaround if you have Application.EnableVisualStyles() in your code but CTRL+A still does not work. – NeverStopLearning.

Let the user press Ctrl-A to select all of the text in a TextBox in VB .NET When the TextBox's KeyPress event sees the Ctrl-A key code (1), ...

2012/11/8 -Solution 1 ... You can simply assign this handler to the KeyPress event of any TextBox you need. You've done the hard work by casting the sender ...

2013/10/7 -3 Answers 3 · 1. Select the text box. In the Properties window click the lightning-bolt icon. Double-click KeyDown. – Hans Passant. Oct 7, 2013 ...

2003/10/8 -I'm trying to emulate the Ctrl-A keystroke to select all text in a textbox control :Private Sub Text1_KeyDown(KeyCode As Integer, Shift As ...

Use the ShortcutsEnabled property to enable or disable the following shortcut key combinations and the control's shortcut menu: CTRL+Z. CTRL+E. CTRL+C. CTRL+Y.

If the key pressed is Ctrl+A, the code converts the sender parameter into a TextBox and calls that control's SelectAll method to select its text. The code uses ...

Two of those are keyboard shortcuts found on the the WinForms Textbox: CTRL+A (to select all text) and CTRL+Backspace (to delete the previous word).

2008/6/26 -As I said - use the KeyDown event of the textbox to check if "A" was presses. If so, check, using DirectInput, if the "Ctrl" button is pressed.

2018/11/2 -Hello, When htting CTRL + Backspace in a TextEdit or TextBox, there is a character inserted. Many text editors instead use this key ...

A.WM_KEYDOWN または WM_KEYUP でもいいかもだけど、アクセラレータを使う方がコードが簡潔になると思う。 http://wisdom.sakura.ne.jp/system/win...

A.コードを見ただけで適当なのですが、押されたキーがエンター可動化判定していないからじゃないでしょうか? 下記のようにエンターを押した時だけ判定してやれば動きそうな気がします。 ちなみにキーコードは...