Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bugs Textwidth Method Does Not Return Foxel Units
Message
From
29/08/2000 19:37:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Bugs Textwidth Method Does Not Return Foxel Units
Miscellaneous
Thread ID:
00410552
Message ID:
00410552
Views:
48
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
- On the Road
In circle of Life
Next
Reply
Map
View

Click here to load this message in the networking platform