I've resorted to putting some controls inside a container and setting the
container to grow relatively. The objects in the container are set absolute.
This keeps labels and buttons tight with the grid that resizes.

Tracy

-----Original Message-----
From: Richard Kaye
Sent: Friday, March 13, 2009 8:37 AM

The help file spells that out pretty clearly. Of course, I scratched my head
for a while until I noticed this. The anchor uses the location when the
object is created. 

"If you want to base anchoring on the control's current position after it is
has been moved, reset the control's Anchor property to 0 and then back..."

My biggest gripe with anchors is I can't get it to work 100% to my
satisfaction when the form layout is a bit more complex. For example, I have
a form that is set up in a semi-columnar way in that I've get a couple of
grids stacked on top of each other on the left side and then a bunch of text
boxes and labels on the right side. When the form is stretched vertically,
the grids resize perfectly but I'm having a hard time getting the objects in
the lower right quadrant to move as appropriate while still maintaining
their positions relative to each other.

Richard Kaye



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/000001c9a3e1$98b0ea30$ca12be...@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to