Hello Rich,
In the form designer, the smallest you can set width to is 104. So that is the minimum.
>In a Messagebox function I'm writing as a learning tool I have the following code
>
>WITH oMsg
> .
> . stuff
> .width = 30+MAX(.MaxLabelWidth,.ButtonWidths)
> .
> . more stuff
> .
>
>
>After executing the statement the debugger shows that
>
> oMsg.MaxLabelWidth = 16
> oMsg.ButtonWidths = 35
> oMsg.Width = 104
>
>
>
>I changed the code to be
>
.width = 65
>
>and got the same result.
>
>Is there some minimum value for a form width?
>
>If not, could someone explain this behavior for me?
>
>Thanks to all............Rich
Steve Gibson