Does RIGHT ALIGNMENT *REALLY* work for u guys? 
Author Message
 Does RIGHT ALIGNMENT *REALLY* work for u guys?

Quote:

> Hi everyboby.
> Maybe this is a newbie question, but it's starting to annoy me a bit, that
> Alignment property.
> It just won't do it with Text boxes :\

> For appearance purposes only I'd like that data filling text boxes could be
> Right aligned.
> tnxs in advance.

Change the MultiLine property of the text box the True. Your alignment
property will then work. I dont know why they did it that way but they
did. Its right out of the help files.

Mark



Mon, 24 Jan 2000 03:00:00 GMT  
 Does RIGHT ALIGNMENT *REALLY* work for u guys?


says...

Quote:

>Hi everyboby.
>Maybe this is a newbie question, but it's starting to annoy me a bit, that
>Alignment property.
>It just won't do it with Text boxes :\

>For appearance purposes only I'd like that data filling text boxes could be
>Right aligned.
>tnxs in advance.

The undocumented feature to fix this is to change the textbox multiline
property to True.

R,
Mike



Mon, 24 Jan 2000 03:00:00 GMT  
 Does RIGHT ALIGNMENT *REALLY* work for u guys?

with Text boxes, the alignment property is ignored unless you set the
MultiLine property to true.
I don't know why it is this way, it just is.

Quote:
> ----------

> Posted At:         Thursday, August 07, 1997 05:58 AM
> Posted To:         misc
> Conversation:      Does RIGHT ALIGNMENT *REALLY* work for u guys?
> Subject:   Does RIGHT ALIGNMENT *REALLY* work for u guys?

> Hi everyboby.
> Maybe this is a newbie question, but it's starting to annoy me a bit,
> that
> Alignment property.
> It just won't do it with Text boxes :\

> For appearance purposes only I'd like that data filling text boxes
> could be
> Right aligned.
> tnxs in advance.



Tue, 25 Jan 2000 03:00:00 GMT  
 Does RIGHT ALIGNMENT *REALLY* work for u guys?

 Try this tip.

If you want the text box to be right aligned, you have to set its properties
to MultiLine.  OK, I know you're gonna say "Yes, but when the user presses
return the text will disappear", or similar.  This is true, but why not
capture the enter key (Kepress event) and make your app beep.  That way it
is simulating a non-multiline textbox!

Ron Briscoe wrote in article ...

Quote:
>with Text boxes, the alignment property is ignored unless you set the
>MultiLine property to true.
>I don't know why it is this way, it just is.

>> ----------

>> Posted At: Thursday, August 07, 1997 05:58 AM
>> Posted To: misc
>> Conversation: Does RIGHT ALIGNMENT *REALLY* work for u guys?
>> Subject: Does RIGHT ALIGNMENT *REALLY* work for u guys?

>> Hi everyboby.
>> Maybe this is a newbie question, but it's starting to annoy me a bit,
>> that
>> Alignment property.
>> It just won't do it with Text boxes :\

>> For appearance purposes only I'd like that data filling text boxes
>> could be
>> Right aligned.
>> tnxs in advance.



Wed, 26 Jan 2000 03:00:00 GMT  
 Does RIGHT ALIGNMENT *REALLY* work for u guys?

Quote:

> Hi everyboby.
> Maybe this is a newbie question, but it's starting to annoy me a bit,
> that
> Alignment property.
> It just won't do it with Text boxes :\

> For appearance purposes only I'd like that data filling text boxes
> could be
> Right aligned.
> tnxs in advance.

2 ways:
1) Set MultiLine property to true.
2) Windows NT 4.0 Workstation, Service Pack 3 supposedly made changes to
the underlying (windows) implementation of the EDIT class, thereby
'fixing' the class so that the alignment property works with
non-multiline instances of the class.

N Varacalli
--
The views expressed herein do not represent the views of my employer.

The Address in the header is mangled, delete appropriately.

To reach me via e-mail, try
NICHOLAS_VARACALLI at non-hp-Canada-om1.om.hp.com



Fri, 28 Jan 2000 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. right alignment in richtextbox doesn't work

2. increditble what this guy has done for vb on OpenGL

3. Now I've really done it!!

4. These Deiploma SPAMS are really well done

5. Is access really doing something else ???

6. when is web browser control really done

7. Right alignment in text box with vb4 16 bit

8. how to print numeric data with right alignment

9. Masked edit box - Right Alignment

10. Form Right-to-Left alignment problem

11. Form Right-to-Left alignment problem

12. CheckListbox with right alignment

 

 
Powered by phpBB® Forum Software