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. C#
  4. Focus in textbox

Focus in textbox

Scheduled Pinned Locked Moved C#
javaquestion
6 Posts 3 Posters 0 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.
  • Q Offline
    Q Offline
    quiteSmart
    wrote on last edited by
    #1

    hi, is there any event that let me know when the textbox has focus and when it looses focus? i remember in java there was something like that maybe called onFocus or something like that. thanks

    M 1 Reply Last reply
    0
    • Q quiteSmart

      hi, is there any event that let me know when the textbox has focus and when it looses focus? i remember in java there was something like that maybe called onFocus or something like that. thanks

      M Offline
      M Offline
      Martin 0
      wrote on last edited by
      #2

      Hello, Look at GotFocus and LostFocus Event. All the best, Martin

      Q 1 Reply Last reply
      0
      • M Martin 0

        Hello, Look at GotFocus and LostFocus Event. All the best, Martin

        Q Offline
        Q Offline
        quiteSmart
        wrote on last edited by
        #3

        I didn't know that there is some events that are not displayed in the properties panel that shows in the designer view. but why is that?? thanks any way

        D M 2 Replies Last reply
        0
        • Q quiteSmart

          I didn't know that there is some events that are not displayed in the properties panel that shows in the designer view. but why is that?? thanks any way

          D Offline
          D Offline
          dataminers
          wrote on last edited by
          #4

          MouseClick Event private void textBox1_MouseClick(object sender, MouseEventArgs e)

          M 1 Reply Last reply
          0
          • D dataminers

            MouseClick Event private void textBox1_MouseClick(object sender, MouseEventArgs e)

            M Offline
            M Offline
            Martin 0
            wrote on last edited by
            #5

            :confused:

            1 Reply Last reply
            0
            • Q quiteSmart

              I didn't know that there is some events that are not displayed in the properties panel that shows in the designer view. but why is that?? thanks any way

              M Offline
              M Offline
              Martin 0
              wrote on last edited by
              #6

              Hello, It is somehow descriped as a focus-event of a lower layer. (don't know what that means exactly) Instead the Enter and Leave events are recomended. All the best, Martin

              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