Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple lines in a label control
Message
De
19/04/2000 18:22:11
 
 
À
18/04/2000 13:50:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00360872
Message ID:
00361593
Vues:
15
>I've done this by carefully sizing the label, turning on WordWrap, and adding spaces at the point I want to break until it wraps to the new line. It does not resize well unless you use a monospaced font.

That sounds like too much work:

_screen.addobject('lblTest', 'label')
_screen.lblTest.Visible = .t.
_screen.lblTest.Height = 28
_screen.lblTest.Caption = 'Line1' + chr(13) + 'Line2'


You can do the same thing at design time on a form.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform