This.Left
-
Can anyone tell me how exactly does this "this.Left" method work in conjunction with a form or user control?
-
Can anyone tell me how exactly does this "this.Left" method work in conjunction with a form or user control?
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
-
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
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
-
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
When all else fails, RTFM :-D
-
Can anyone tell me how exactly does this "this.Left" method work in conjunction with a form or user control?
-
Can anyone tell me how exactly does this "this.Left" method work in conjunction with a form or user control?
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