By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,799 Members | 1,343 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,799 IT Pros & Developers. It's quick & easy.

One for the experts

P: n/a
I posted this in an earlier thread, but have had no response, so i thought
i'd give it a more ego enhancing title!

I am trying to create a textbox that can display text in landscape (font
rotated 90 degrees anti clockwise, and text read from bottom to top, not left
to right... ie

portrait

+---------+
|nnnn ::: |
|::::: nn |
+---------+

landscape

+---------+
|.. c |
|.. c |
|.. |
| .. |
|c .. |
|c .. |
|c .. |
|c .. |
+---------+
I tried overriding the onpaint event in an inherited control class, but the
drawn text remains in portrait.

Am i barking up the wrong tree? As you can probably tell, i don't know which
direction i need to go..so all
help will be greatfully received.
Cheers,
James.

Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a
James Randle of Epidermis wrote:
I posted this in an earlier thread, but have had no response, so i thought
i'd give it a more ego enhancing title!

I am trying to create a textbox that can display text in landscape (font
rotated 90 degrees anti clockwise, and text read from bottom to top, not left
to right... ie

portrait

+---------+
|nnnn ::: |
|::::: nn |
+---------+

landscape

+---------+
|.. c |
|.. c |
|.. |
| .. |
|c .. |
|c .. |
|c .. |
|c .. |
+---------+
I tried overriding the onpaint event in an inherited control class, but the
drawn text remains in portrait.

Am i barking up the wrong tree? As you can probably tell, i don't know which
direction i need to go..so all
help will be greatfully received.
Cheers,
James.


Not sure if it would work or not, but couldn't override the keypress
event and every time a keystroke is there, add an VbCr to make it appear
in landscape. You'd have to do something about them hitting backspace,
probably remove to chars if they do.

Just a thought.
Chris
Nov 21 '05 #2

P: n/a
Check this article out. It may help you.

http://www.bobpowell.net/angletext.htm

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.