Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can MAX windows in height only?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01558118
Message ID:
01558130
Vues:
62
>>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)
>
I didn't even know that this property exists. Thank you very much!
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform