Hi, I'm struggling to vertical align the text within a textbox.
I have the black border but the text verticalalign is basically on the top border
Textbox: Border style: FixedSingle; Multiline: True; Enabled: False; align: center;
I have played with the margins, set top to 8 & bottom to 0 but nothing.
Is it like this or is there no other way as it does not look good on the form.
?
Thanks in advance, Regards
Loading
ic icPosted Oct 6, 2009, 5:08 AM
I can't get the textbox text to be vertical align within the border of the textbox.
I would also like to change my controls eg dropdowns & datepcikers broders to black, is there a way?
Please Assist!
Kirtan PatelPosted Oct 6, 2009, 4:49 AM
Thank you :)
ic icPosted Oct 6, 2009, 3:47 AM
how would i append a new line?
how do i then remove the new line when using the value?
Regards
naura paxPosted Oct 6, 2009, 3:13 AM
you can set textbox to readonly after that operation.
ic icPosted Oct 5, 2009, 8:13 AM
How do i set the text display in the texbox vertical align?
naura paxPosted Oct 5, 2009, 7:03 AM
ic icPosted Oct 5, 2009, 6:55 AM
That alignment sets the text to left,center or right: I want to set the vertical-alignment as the text is nearly on the top border & i have played with the margins
?
naura paxPosted Oct 5, 2009, 6:09 AM
Set TextAlign Property of textbox of your choice (Center for e.g.).
Please mMark as answered if you find it useful.