VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Auto wordwrap text with the fixed width

by Nolan Shang (2 Submissions)
Category: Coding Standards
Compatability: VB Script
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

Sometime the string of a item in some grid or list control is too long to display it complete.
So we want to auto display it with multi-line.
My code just do it,It auto wordwrap the string with fixed width.
You can define the dismember of each word,such as ",","?",":",and so on.
after processing,this class will return the conten of each line ,and the height of block text following the font of hdc

Rate Auto wordwrap text with the fixed width

Download Auto wordwrap text with the fixed width

Download Auto wordwrap text with the fixed width (19 KB)

Auto wordwrap text with the fixed width Comments

No comments have been posted about Auto wordwrap text with the fixed width. Why not be the first to post a comment about Auto wordwrap text with the fixed width.

Post your comment

Subject:
Message:
0/1000 characters