|
-
Apr 22nd, 2008, 11:42 PM
#1
Thread Starter
Addicted Member
[RESOLVED] [2008] Getting a Location of a Panel on a Form?
Yo!
I have 3 panels (let's call them Panel1, Panel2 and Panel3). They are stacked so the first panel is the parent of the second panel and the second panel is the parent of the third panel.
I need to establish the Location.Y value for the 3rd panel, in relation to the screen position 0,0. Because the 3rd panel is inside the 2nd panel, the Location.Y value is relative to the 2nd panel and so on.
I am trying to loop through the parents and just add their Location.Y values together to give me the screen-relative Location.Y value of Panel3 (without luck thus far).
Is there a method for getting a Location.Y relative to the screen rather than the parent?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|