>Hi Nadya,
>
>May be you can put, instead of 3*sysmetric(33) something like:
>
>lnRightButtons=iif(this.maxbutton or this.minbutton, 3, 1) and then
>lnRightButtons*sysmetric(33) this will adjust the caption for the presence/absence of those buttons.
>
>Hugo
Hi Hugo,
AFAIK, MaxButton=.f. disables Max Button, but this button still exists on the form. Therefore my code is correct, where I check this.ControlBox.
Anyway, right now my major problem is to determine Title font attributes (size, font, style).
If it's not broken, fix it until it is.
My Blog