Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determing form size necessary to display arbitrary text
Message
De
31/10/2001 06:25:21
 
 
À
30/10/2001 22:44:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00575284
Message ID:
00575521
Vues:
30
This message has been marked as the solution to the initial question of the thread.
Hi Malcom;

I really glad to help you to find the answer of your need.

>the edit control does not have an Autosize property. The label control has an autosize property, but its text value must be less than 256 characters.

The fontmetric(7) gives you the maximun width (in pixels) of a single character. You can assembler your form using this like the main coordinate for your form's width.


Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform