Gene, Don't really understand what you mean by "placeholder value". Have you tried setting the label's AUTOSIZE property to .T. After you do this you will need to reset the LEFT property maybe the TOP property if you are using wordwrap.
Then issue the label REFRESH Dave Crozier -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gene Wirchenko Sent: 20 November 2009 01:52 To: ProFox Email List Subject: VFP 9: Label Width Change Not Taking Dear Reynards and Vixens: I have a form (a .prg) where I have quite a few labels. In this particular program, some of the label widths are dynamic. Here is what I do: Instantiate the labels with a placeholder .width value. At various points in the program, I need to adjust the .width of a label. I change the .width of the label then assign the new .caption. If the initial placeholder value is 1, somehow, the .width change does not take. While the .width and .caption are set (I have checked), the label displays just one character. If the initial placeholder value is big, then it works. A need to refresh does not appear to be it; my routine ends with a refresh. Sure, I can simply use a big enough value, but why is this happening? Sincerely, Gene Wirchenko [excessive quoting removed by server] _______________________________________________ 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/7350d167859f49689637e474a0bbc...@develop ** 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.

