Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you calculate the header height?
Message
De
11/11/1999 19:59:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00290365
Message ID:
00290406
Vues:
41
>>Actually, I just turned the titlebar off in design mode, added a command button on the form and in the click event I have the code
>>
>>WAIT WINDOW STR( SYSMETRIC( 9 ) ) NOWAIT
>>
>>I added a THISFORM.TitleBar = 0
>>
>>And still this always returns 24.
>
>AFAIK it will always return the OS system setting for a title bar height. It's not returning the height of the titlebar on a form. It the setting that VFP looks at to determine the height of a titlebar should be.
>
>Did the code not work? It worked fine for me.

I'm going to test it right now with an alternating command button, turning the title bar on and off.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform