Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bugs Textwidth Method Does Not Return Foxel Units
Message
De
30/08/2000 04:30:10
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00410552
Message ID:
00410638
Vues:
9
>Bug TextWidth has been fix ?
>
>Article ID : Q143308 Last Review : February 7,2000
>
>Symtomps :
>The TextWidth method of VFP is defined as returning the lenght of a text string expressed in a count
>of unit, the units being expressed in either pixels or foxels depending on the current scalemode of the form.
>However the values area actually returned in pixels, only, regardless of the scalemode property.
>
>Steps to ilustrate this problem
>
>In the VFP command window, type the following sequence of commands and observe the information
>that is displayed in the upper-left portion of the desktop :
>
>X=CreateObject("Form")
>?X.Scalemode && return 3 (pixels, the default)
>?X.Textwidth("testing") && Show 42 (pixels, if standar font)
>x.Scalemode=0 && Foxels
>?x.TextWidth("Testing") && Show 42 -The pixels measurement
>
>Bug has been fix ?
>
>Thanks
>Very Much


AFAIK no and I hope no forever.
Bug report q143308 is buggy IMHO. Docs doesn't say it would return foxels if scalemode is foxels only bug report says it. Both VFP5 and VFP6 documentation say it would return 'pixels' and it returns pixels - hope they don't 'correct' it.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform