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