Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Graphics
  4. Cursor not shown in textBox

Cursor not shown in textBox

Scheduled Pinned Locked Moved Graphics
csharp
2 Posts 2 Posters 5 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fakhirov
    wrote on last edited by
    #1

    Hello, I'm developing an application windows CE(by using C# in VS2003). I have Form1 in which i have 2 panels: panel1,panel2 In panel1, I have a textBox1 and a button "oK" In panel2, I have only a textBox2. I write this code in order to have the cursor in the textBox1(resp textBox2) when panel1(resp panel2) is shown: public Form1() { panel2.Hide(); panel1.Show(); textBox1.Focus(); } private void OK_Click(object sender, System.EventArgs e) { this.panel1.Hide(); this.panel2.Show(); textBox2.Focus(); } But I have seen only the cursor in textBox1 of panel1. Thank you

    M 1 Reply Last reply
    0
    • F fakhirov

      Hello, I'm developing an application windows CE(by using C# in VS2003). I have Form1 in which i have 2 panels: panel1,panel2 In panel1, I have a textBox1 and a button "oK" In panel2, I have only a textBox2. I write this code in order to have the cursor in the textBox1(resp textBox2) when panel1(resp panel2) is shown: public Form1() { panel2.Hide(); panel1.Show(); textBox1.Focus(); } private void OK_Click(object sender, System.EventArgs e) { this.panel1.Hide(); this.panel2.Show(); textBox2.Focus(); } But I have seen only the cursor in textBox1 of panel1. Thank you

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      You may get a better response on the C# board[^] Mark

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups