VB4 text box Align text property not working 
Author Message
 VB4 text box Align text property not working

has anyone else got this problem, or is it just another side effect of the
VB5CCE Beta? (Haven't seen it on any bug lists)

My text boxes (VB4 32 bit)  refuse to change the alignment, they
left justify the text regardless of what they are set too.  I first noticed
this in a project
where my text boxes where within a frame, I have tried others on the form
outside of the frame and have the same problem.

Solutions anyone?



Wed, 16 Jun 1999 03:00:00 GMT  
 VB4 text box Align text property not working


Quote:
>has anyone else got this problem, or is it just another side effect of the
>VB5CCE Beta? (Haven't seen it on any bug lists)
>My text boxes (VB4 32 bit)  refuse to change the alignment, they
>left justify the text regardless of what they are set too.  I first noticed
>this in a project
>where my text boxes where within a frame, I have tried others on the form
>outside of the frame and have the same problem.
>Solutions anyone?

Have you selected multiline? Use Word Wrap?
Does your string contain vbCrLf (carriage return linefeed)?


Wed, 16 Jun 1999 03:00:00 GMT  
 VB4 text box Align text property not working

Quote:

> has anyone else got this problem, or is it just another side effect of the
> VB5CCE Beta? (Haven't seen it on any bug lists)

> My text boxes (VB4 32 bit)  refuse to change the alignment, they
> left justify the text regardless of what they are set too.  I first noticed
> this in a project
> where my text boxes where within a frame, I have tried others on the form
> outside of the frame and have the same problem.

> Solutions anyone?

Try setting the textboxes' multiline property to true.

Daniel.



Wed, 16 Jun 1999 03:00:00 GMT  
 VB4 text box Align text property not working

has anyone else got this problem, or is it just another side effect of the
VB5CCE Beta? (Haven't seen it on any bug lists)

My text boxes (VB4 32 bit)  refuse to change the alignment, they
left justify the text regardless of what they are set too.  I first noticed
this in a project
where my text boxes where within a frame, I have tried others on the form
outside of the frame and have the same problem.

Solutions anyone?



Thu, 17 Jun 1999 03:00:00 GMT  
 VB4 text box Align text property not working


Quote:
>has anyone else got this problem, or is it just another side effect of the
>VB5CCE Beta? (Haven't seen it on any bug lists)
>My text boxes (VB4 32 bit)  refuse to change the alignment, they
>left justify the text regardless of what they are set too.  I first noticed
>this in a project
>where my text boxes where within a frame, I have tried others on the form
>outside of the frame and have the same problem.
>Solutions anyone?

Have you selected multiline? Use Word Wrap?
Does your string contain vbCrLf (carriage return linefeed)?


Thu, 17 Jun 1999 03:00:00 GMT  
 VB4 text box Align text property not working



Quote:

> My text boxes (VB4 32 bit)  refuse to change the alignment, they
> left justify the text regardless of what they are set too

> Solutions anyone?

Thanx for the response, the solution was to set multiline to true.


Fri, 18 Jun 1999 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. VB4 text box Align text property not working

2. Right aligned text boxes don't right align

3. Aligning text in text and list boxes?

4. aligning text in text boxes

5. How to set text to align right in text box

6. VB6 Text property of UserControl does not work with UpDown Control's buddy property

7. Text box not right aligned?

8. using VB text boxes data but not text boxes in word 2000

9. VB4-16bit Can't Make Text Control Text Property Empty

10. Text box text on new page text box

11. Refer to text box's Text property

12. Setting properties on selected text in a text box

 

 
Powered by phpBB® Forum Software