>Mark,
>The problem is that VFP doesn't do anything with respect to AutoSize until the form is shown. You can do your own calculations using a combination of FontMetric() and TxtWidth(). See Thread #
455959 Message #
455966 for a formula for this.
Figured it out. I have to set the Visible property of the label to true first. Then the new width is correct.
Mark McCasland
Midlothian, TX USA