×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Vertical text in labels or textboxes ?????????

Vertical text in labels or textboxes ?????????

Vertical text in labels or textboxes ?????????

(OP)
Hi all!

Please can somebody tells me how to put text vertical in labels or textboxes?
I tried to find it in helps but with no success.

Thanks in advance

RE: Vertical text in labels or textboxes ?????????

Hi enertika,

You can create the text in a image editor software and insert a picture with the text.

It's a way.

I hope it can helps.

Regards,

MHendler

RE: Vertical text in labels or textboxes ?????????

Put a vertical and a horizontal scroll bar on a textbox
and insert a CRLF (thats chr(13) & chr(10) between each letter.

RE: Vertical text in labels or textboxes ?????????

Just be sure the TextBox and Label are set to allow several lines (Multiline=True for TextBox) (WordWrap=True for Label)and then use vbCrLf to change line like this:

Text1 = Text1 & vbCrLf
Label1 = Label1 & vbCrLf

RE: Vertical text in labels or textboxes ?????????

cowski (or his link) has the right idea. The answer is to use the Windows API, which has text rotation functions.

MHendler's solution does not allow for the text changing.
The Wade/Gaba solution is a nasty kludge, and does not rotate the letters.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources