>>If I am using a non-proportional font for a control does anyone have a calculation to determine the maximum value needed for Width?
>
>If you have AutoSize=.T., setting the new label will give you the width. You can then take action depending on the width.
I have AutoSize=.T. in my label base class. What I was after was determining the width for objects like textboxes, comboboxes, etc.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.