It's a bug in VFP8SP1. I don't see it in VFP7SP1. To work around this bug, set following properties
MinButton = .F.
MaxButton = .F.
>Hi All
>Using HalfHeightCaption = .T. and COntrolBox = .F. in a form i noticed that pressing on the title where the control box normally is displayed (near the right end of the title) is ossible to minimize and maximize the form.
>Infact for a piece of a moment pressing over a "hidden" button i see the button.
>
>Below the example code.
>I'm Using VFP 8 SP1
>
>
>
>o = CREATEOBJECT('form1')
>o.show(1)
>RETURN
>DEFINE CLASS form1 AS form
> ControlBox = .F.
> HalfHeightCaption = .T.
>
> ADD OBJECT command1 AS commandbutton WITH ;
> Top = 168, ;
> Left = 60, ;
> Height = 27, ;
> Width = 84, ;
> Caption = "exit", ;
> Name = "Command1"
>
>
> PROCEDURE command1.Click
> RELEASE thisform
> ENDPROC
>ENDDEFINE
--sb--