>Hi,
>
>I would like to have one window to maximize only in height but not in width (when user clicks on Maximize button). That is, so that the width stay without change. Is it possible? And I suspect that since with VFP nothing is impossible, how? TIA.
You can use MaxWidth, for example, try maximizing this:
loForm = CreateObject('Form')
loForm.AddObject('lbl1', 'label')
loForm.Width = 100
loForm.MaxWidth = 150
loForm.MinWidth = 150
loForm.lbl1.Caption = Transform(loForm.width)
loForm.lbl1.Visible = .t.
loForm.Show(1)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges