|
-
Apr 23rd, 2009, 02:43 PM
#1
Thread Starter
Member
[RESOLVED] Check Form Border Location
Ok, what I mean by this is that, I need a check that will see the location of the edge of the form. An example would be (for what I am trying to do) is, when a form is moved, the main form will get bigger depending which border and which way the second form is going.
So basically I need some way to make Form1 get bigger if Form2 is near the left border or near the bottom border.
*I have a mini system for making it grow(LocationChanged) on the form I want it to work for.
*I also know about ".left" and ".top",
***but I need a check for the border of the form***
Thanks for any help...can't think of how I can be more specific (post here if you need additional info...)
-
Apr 23rd, 2009, 02:55 PM
#2
Re: Check Form Border Location
Since you know about the location and size of the form, I'm not clear on what you are asking...perhaps the .ClientSize property may help?
"Ok, my response to that is pending a Google search" - Bucky Katt.
"There are two types of people in the world: Those who can extrapolate from incomplete data sets." - Unk.
"Before you can 'think outside the box' you need to understand where the box is."
-
Apr 23rd, 2009, 03:39 PM
#3
Thread Starter
Member
Re: Check Form Border Location
 Originally Posted by SJWhiteley
Since you know about the location and size of the form, I'm not clear on what you are asking...perhaps the .ClientSize property may help?
Actually...I over looked something, the ".left" wasn't working because it was looking for an exact position, so I just need to play around ( i added a greater than or equal to it) it seems to work, just need to play around..
Tags for this Thread
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
|