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 18:20:59
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
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:
00575934
Vues:
42
This message has been marked as a message which has helped to the initial question of the thread.
>Claudio,
>
>Thanks for your idea about setting a control's Autosize property to .T. and then determining the height of the control. Very clever! Unfortunately 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.
>
>Any other suggestions?

You can use form's textsize() method, and chop the thing into several labels based on that. I've done it in alert.prg (you can download it here, click on my name then on Contributions), so you can take a look at it.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform