>>>>When I have LockScreen=.T., I have found that some properties have strange behaviors.
>>>>
>
>Look at TXTWIDTH Function...
>
>Syntax
>
>TXTWIDTH(cExpression [, cFontName, nFontSize [, cFontStyle]])
>
Forget it...
TEXTWIDTH is an old function.
Use the TextWidth() property of the form object to determine the width of your string...
From HELP:
TextWidth() propertyReturns the width of a text string as it would be displayed in the current font.
Syntax[nWidth =] [FormSet.]Object.TextWidth(
cText)
ArgumentsnWidth Returns a value in pixels specifying the width of the text string.
cText Specifies the character string for which the text width is determined.
RemarksThe TextWidth method determines the amount of horizontal space required to display cText.
ITTH (i think this help)
:o)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca