Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rotate text on a button
Message
From
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:
01160005
Views:
12
This message has been marked as a message which has helped to the initial question of the thread.
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform