Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LockScreen=.T. affects some properties
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00053320
Message ID:
00053376
Vues:
32
>>>>>When I have LockScreen=.T., I have found that some properties have strange behaviors.
>>>>>
>>
>>Look at TXTWIDTH Function...
>>
>>Syntax
>>
>>TXTWIDTH(cExpression [, cFontName, nFontSize [, cFontStyle]])
>>
>
>Forget it...
>TEXTWIDTH is an old function.
>
>Use the TextWidth() property of the form object to determine the width of your string...
>
>From HELP:
>
>TextWidth() property
>
>Returns the width of a text string as it would be displayed in the current font.
>
>Syntax
>
>[nWidth =] [FormSet.]Object.TextWidth(cText)
>
>Arguments
>
>nWidth Returns a value in pixels specifying the width of the text string.
>
>cText Specifies the character string for which the text width is determined.
>
>Remarks
>
>The TextWidth method determines the amount of horizontal space required to display cText.
>
>ITTH (i think this help)

Thanks, I'll try that.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform