I've seen something like this when the label is in a pageframe. Otherwise
the Form refresh usually took care of the problem.

Tracy

-----Original Message-----
From: Gene Wirchenko
Sent: Thursday, November 19, 2009 8:52 PM

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




_______________________________________________
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/000a01ca69ed$8236b730$86a425...@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