Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine A Label's Height
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00557502
Message ID:
00557551
Vues:
9
Larry,

Here's my code:


WITH ThisForm.lblTest

  .Caption = "This is a really,really long line of test text"
  .BorderStyle = 1 && For testing
  .Width = 75
  .AutoSize = .T.
  .Height = FONTMETRIC(1 , .FontName, .FontSize)

ENDWITH


All this did was extend the width of the label out to
the right.


The problem is the height. I dont know how many lines there are
going to be until AFTER the label resizes. I DO know the max width
the label can be though.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform