|
-
April 1st, 1999, 10:16 PM
#1
Text Allign in singleline text box?
Hi,
Anybody tried 'RightAllign'or'CenterAllign' with single line Textbox? There seems to be noway, other than declaring it as multiline & then eating away the 'Enter' key?!
Ravi
-
April 2nd, 1999, 03:54 AM
#2
Re: Text Allign in singleline text box?
Hi Ravi
I had to eat away those enter keys too - but I did find something strange on NT4.
I was playing around making a Number only textbox, and with an API style setting (code's at work so I can't tell you off the top of my head) it actually was right aligned, but not on Win95/98.
I couldn't find anything in the MSDN to account for this behaviour. The textbox/edit control is supposed to have it's (alignment) style set at creation (i.e. CreateWindow).
Let me know if you want to see the code and I'll post it here.
Chris Eastwood
CodeGuru - the website for developers
http://www.codeguru.com/vb
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
|