Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form's Caption_Assign
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00424701
Message ID:
00425721
Views:
14
>Hi!
>
> 'Height' = 'Size'
> For VFP you will need size. No such thing as 'font width' exist for VFP. And it does not exist for windows font as well. Just because different letters in font can have different width, did you noticed that? That is why such function as 'TextWidth' is required in your application. It works accordingly certain font settings like fontbold, fontsoze, fonname etc. (see my note in previos message where I use these settings for _screen to call TextWidth method).
>
> HTH.
>
>>Now you're confused me completely. Where did I talk about font height? :)
>>I want font width, height is interesting, but not important in my calculations. BTW, I already have a code for calculating number of spaces (check full thread for this), the only part, I had trouble, is to find these title bar font attributes: font name, font width, font style (bold, italic, etc.)
>>

Vlad,

I think it was a long, bad day for me, so I start to ask such foolish questions... Thanks again for your explanation and patience :)
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform