Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug in Label - Wordwrap, AutoSize
Message
De
10/12/2001 15:34:44
 
 
À
10/12/2001 14:57:22
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00592305
Message ID:
00592337
Vues:
13
Charlie,

It crashes VFP 6 SP5 also...

>I've been using code like this to know the height of the header in a grid. The idea is to set the width and caption, make the label visible (but not really) and note the height. I'm using version 07.00.0000.9262.
>
>_SCREEN.NEWOBJECT('x','label')
>WITH _SCREEN.x
>  .Left = -200   && Can't see it here.
>  .Width = 30
>  .FontName = "Arial"
>  .FontSize = 9
>  .Caption = "      5   Total"      && This text causes failure.
>*   .Caption = "      5    Total"     && This text works fine.
>   .Wordwrap = .T.
>   .AutoSize = .T.
>  .Visible = .T.
>?  .Height
>ENDWITH
>_SCREEN.RemoveObject('x')
>RETURN
>
>Does anyone see why this should fail so abruptly?
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform