|
-
Mar 4th, 2019, 10:22 PM
#1
[VB6] Windowed and Windowless Labels that can be rotated
Last edited by Eduardo-; Mar 22nd, 2021 at 06:55 PM.
-
Mar 4th, 2019, 10:37 PM
#2
Re: [VB6] Windowed Label that can have vertical orientation
Thanks for sharing Eduardo...2 comments from me:
1) It would be nice if there was a small test project instead of just the CTL file.
2) Is your control Unicode? I did a quick test and just got "?" for each Unicode character (even after choosing Arial Unicode MS as the font).
-
Mar 4th, 2019, 11:18 PM
#3
Re: [VB6] Windowed Label that can have vertical orientation
 Originally Posted by jpbro
Thanks for sharing Eduardo...2 comments from me:
1) It would be nice if there was a small test project instead of just the CTL file.
Ok, updated.
 Originally Posted by jpbro
2) Is your control Unicode? I did a quick test and just got "?" for each Unicode character (even after choosing Arial Unicode MS as the font).
No, because it uses a standard VB.Label inside.
Perhapds replacing it with one Krool's LabelW it could be made Unicode.
Or directly printing the caption with the DrawTextEx API instead of using a Label.
Please try again with Arial Unicode MS because I changed something.
Last edited by Eduardo-; Mar 4th, 2019 at 11:49 PM.
-
Mar 6th, 2019, 09:17 AM
#4
Re: [VB6] Windowed Label that can have vertical orientation
I tried the new version - I had to remove some unused Command1_Click code that was preventing it from compiling/running. Still no luck with Unicode, but if you are using the label in the UC then there's a good chance Krool's LabelW would work for those who need unicode.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|