Rich text box justify.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello, I'm in trouble trying to figure out how can I justify text in a rich
text control on my Visual basic 6.0 aplication. Or.. is there any other way
to do it?. Please help. Send you my cordial regards.

Juan Erickson.
 
Hi Jo,

JoErickson said:
Hello, I'm in trouble trying to figure out how can I justify text in a
rich
text control on my Visual basic 6.0 aplication. Or.. is there any other
way
to do it?.

Notice that this is a VB.NET group. There is a separate group for questions
on VB6's controls available: microsoft.public.vb.controls. You will more
likely get an answer there.
 
Juan,

In vb.net you can simply code:
richtextbox.SelectionAlignment = HorizontalAlignment.Center

It's been a while since I did VB 6.0, but there may be a similar property
like:
rtb.SelectedText.Align = 1

Just a guess.
 
aRBee said:
It's been a while since I did VB 6.0, but there may be a similar property
like:
rtb.SelectedText.Align = 1

VB6 code:

\\\
Me.RichTextBox1.SelAlignment = RtfRight
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top