I'm doing a Sudoku GUI in C#. All 81 textboxes are created at runtime. Their names are 11, 12, 13...19,21...98,99 respectively. At beginning the focus is in the textbox that has internally the name "11". I wish to navigate with the arrow keys. I.e. with the downkey I want to transfer the input focus to the textox "21". How can I do this? I didn't find a solution checking some C# books and the internet.
Thanks for any help.
Fritzli
Fritzli
0
Newbie Poster
Recommended Answers
Jump to PostSet KeyPreview=True and Handles KeyDown Event of Form
private void Form1_Load(object sender, EventArgs e) { int x=10,y=10; for (int i = 1; i <= 3; i++) { x=10; for (int j = 1; j <= 3; j++) { TextBox t1 = new TextBox(); t1.Location = new Point(x, …
All 3 Replies
kvprajapati
1,826
Posting Genius
Team Colleague
Diamonddrake
397
Master Poster
Fritzli
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.