Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug in Label - Wordwrap, AutoSize
Message
De
10/12/2001 21:13:25
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
 
À
10/12/2001 15:34:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00592305
Message ID:
00592497
Vues:
19
Thanks for the confirmation Steve. I reported the issue to MicroSoft.

>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?
Charlie
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform