[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...)
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?
Re: Check Form Border Location
Quote:
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..