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

---------------------------------------------------------
This message has been checked for viruses before sending.
---------------------------------------------------------

I tried anchor but it failed on one thing. I have a class I drop on a form
to find the top/left size etc. It puts the form in the same place and size
when opened that it closed at last time. Anchor does not respect this change
and the controls seem to stay in the same place/size as if the form was not
resized.
The only way is to turn off anchor, resize the control and reset the anchor.
It takes away from what could be a useful property because each control must
be placed before anchor is enabled.
Allen

_______________________________________________
Post Messages to: ProFox@leafe.com
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/df1eef11e586a64fb54a97f22a8bd044152cb...@ackbwddqh1.artfact.local
** 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