Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rotate text on a button
Message
 
 
To
06/10/2006 09:33:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01159748
Message ID:
01160727
Views:
11
>>Hi everybody,
>>
>>I have a small button 22*27 with a Caption TQM. My manager wants this text to look like (no spaces between lines)
>>
>>T
>> Q
>>   M
>>
>>I'm wondering what would be the best way to achieve it?
>>
>>Thanks in advance.
>
>I'd use GDI+ for that.
>It's really simple to do that.
>
>You may check my blog post
>"DRAW ROTATED STRINGS WITH GDIPLUS-X"
>http://weblogs.foxite.com/cesarchalom/archive/2006/08/30/2388.aspx
>
>
>I've sent some code to Emerson Reed to be used in an interesting Report Listrener that uses rotated text too. For that specific case, I created some code to measure the paper size, and adjust the font size to better fit on the page.
>http://weblogs.foxite.com/emersonreed/archive/2006/09/13/A_sample_on_how_to_add_features_to_Report_Listener.aspx
>
>
>HTH
>
>Cesar

Cesar,

Very interesting. Perhaps a bit overkill for my simple task, but I may use this technique later.

Thanks a lot again.
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