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. This.Left

This.Left

Scheduled Pinned Locked Moved C#
question
7 Posts 6 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.
  • J Offline
    J Offline
    joshp1217
    wrote on last edited by
    #1

    Can anyone tell me how exactly does this "this.Left" method work in conjunction with a form or user control?

    R N W A 4 Replies Last reply
    0
    • J joshp1217

      Can anyone tell me how exactly does this "this.Left" method work in conjunction with a form or user control?

      R Offline
      R Offline
      Ravi Bhavnani
      wrote on last edited by
      #2

      It returns the x coordinate of the control's left edge. /ravi My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

      1 Reply Last reply
      0
      • J joshp1217

        Can anyone tell me how exactly does this "this.Left" method work in conjunction with a form or user control?

        N Offline
        N Offline
        Not Active
        wrote on last edited by
        #3

        Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area. Seems pretty straight forward to me

        J 1 Reply Last reply
        0
        • N Not Active

          Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area. Seems pretty straight forward to me

          J Offline
          J Offline
          Judah Gabriel Himango
          wrote on last edited by
          #4

          Mark Nischalke wrote:

          Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.

          Textbook answer. :)

          Tech, life, family, faith: Give me a visit. I'm currently blogging about: Messianic Instrumentals (with audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

          N 1 Reply Last reply
          0
          • J Judah Gabriel Himango

            Mark Nischalke wrote:

            Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.

            Textbook answer. :)

            Tech, life, family, faith: Give me a visit. I'm currently blogging about: Messianic Instrumentals (with audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

            N Offline
            N Offline
            Not Active
            wrote on last edited by
            #5

            When all else fails, RTFM :-D

            1 Reply Last reply
            0
            • J joshp1217

              Can anyone tell me how exactly does this "this.Left" method work in conjunction with a form or user control?

              W Offline
              W Offline
              wasife
              wrote on last edited by
              #6

              joshp1217 wrote:

              how exactly does this "this.Left" method work

              It basically gives the distance of the left edge of your control to the left edge of the container e.g. form,panel etc on which your control is lying. Regards, Wasif Ehsan.

              1 Reply Last reply
              0
              • J joshp1217

                Can anyone tell me how exactly does this "this.Left" method work in conjunction with a form or user control?

                A Offline
                A Offline
                Andrew Lygin
                wrote on last edited by
                #7

                joshp1217 wrote:

                ...how exactly does this "this.Left" method work...

                It's not a method at all. It is a property (a pair of methods in this case). You can use ildasm.exe to understand how it works exactly. It returns a value of the "x" field of the control when you get it. And it calls SetBounds(...) method when you set it. -- modified at 15:15 Monday 10th July, 2006

                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