P proost New member Joined Jul 6, 2007 Messages 2 Programming Experience 3-5 Jul 6, 2007 #1 I want to align my text in a textbox horizontally and vertically, but vertical align is not in the properties so is it possible in code? I used google already but couldnt find anything.
I want to align my text in a textbox horizontally and vertically, but vertical align is not in the properties so is it possible in code? I used google already but couldnt find anything.
L Levu Well-known member Joined Jun 13, 2007 Messages 51 Location Norway - Drammen Programming Experience 1-3 Jul 11, 2007 #2 as far as i know, there is no premade function for it, so you need to make one yourself.. Its been a post about this before.. http://www.vbdotnetforums.com/showthread.php?p=61451 Check that out and see if it helps Upvote 0 Downvote
as far as i know, there is no premade function for it, so you need to make one yourself.. Its been a post about this before.. http://www.vbdotnetforums.com/showthread.php?p=61451 Check that out and see if it helps
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,800 Location Norway Programming Experience 10+ Jul 11, 2007 #3 vertical, horizontal - who knows, who cares? I don't think it's possible proost. Upvote 0 Downvote
G giadich Well-known member Joined May 20, 2007 Messages 260 Location Houston, TX Programming Experience 5-10 Jul 12, 2007 #4 There's a little trick to display a label vertically. It goes something like this: Set the autosize to True and get the text split each charater up and append a crlf after each character. Upvote 0 Downvote
There's a little trick to display a label vertically. It goes something like this: Set the autosize to True and get the text split each charater up and append a crlf after each character.
P proost New member Joined Jul 6, 2007 Messages 2 Programming Experience 3-5 Jul 12, 2007 #5 maybe i forgot to mention that the textbox is multiline, and i want to align the text in that textbox Upvote 0 Downvote
maybe i forgot to mention that the textbox is multiline, and i want to align the text in that textbox
G giadich Well-known member Joined May 20, 2007 Messages 260 Location Houston, TX Programming Experience 5-10 Jul 12, 2007 #6 my bad... for some reason label sticked to my head... Upvote 0 Downvote