VFP9 SP1 on WinXP

Sounds like a bug to me. Comments?

Create a form.
Set titlebar to 0 (off).
Set height to 20.
Height is 28; won't go to 20.
Set minheight to any value <= 20, even -1 (it's already -1)
Set height to 20; works fine.
Save form and reopen.
Height is no longer 20; can't be set to 20.

Repeat ad infinitum.

Re: form height weirdness by bork

bork
Fri Sep 28 21:03:13 PDT 2007

Feature by design. This behavior dates back to VFP6. It's Microsofts' way of
telling you that they don't think you want to make a form that small
<shrug>.

"Paul Pedersen" <nospam@no.spam> wrote in message
news:OqgkE8fAIHA.4476@TK2MSFTNGP06.phx.gbl...
> VFP9 SP1 on WinXP
>
> Sounds like a bug to me. Comments?
>
> Create a form.
> Set titlebar to 0 (off).
> Set height to 20.
> Height is 28; won't go to 20.
> Set minheight to any value <= 20, even -1 (it's already -1)
> Set height to 20; works fine.
> Save form and reopen.
> Height is no longer 20; can't be set to 20.
>
> Repeat ad infinitum.
>
>
>



Re: form height weirdness by Roger

Roger
Sat Sep 29 00:29:15 PDT 2007


"Paul Pedersen" <nospam@no.spam> wrote in message news:OqgkE8fAIHA.4476@TK2MSFTNGP06.phx.gbl...
> VFP9 SP1 on WinXP
>
> Sounds like a bug to me. Comments?
>
> Create a form.
> Set titlebar to 0 (off).
> Set height to 20.
> Height is 28; won't go to 20.
> Set minheight to any value <= 20, even -1 (it's already -1)
> Set height to 20; works fine.
> Save form and reopen.
> Height is no longer 20; can't be set to 20.
>
> Repeat ad infinitum.

If you set the minheight property to -1 (don't leave it at
the default of -1 but actually set it in the property sheet),
set the height of the form to say 20 (even 5 works) then save
and re-open ... it works!

-Roger