RichTextBox!

22/09/2003 - 19:19 por Carlos Marín | Informe spam
HOLA!

¿Cómo se puede justificar un párrafo contenido en un RichTextBox? ¿Hay
alguna página donde se muestre un ejemplo?

Gracias y Saludos!
 

Leer las respuestas

#1 elenaar
22/09/2003 - 22:38 | Informe spam
Creo que puedes usar la propiedad RichTextBox.RightMargin Property, en
ayuda busca por RichTextBox y en propiedades busca por RightMargin, te da
un ejemplo de como usar la propiedad.
Private Sub ZoomMyRichTextBox()
' Enable users to select entire word when double clicked.
richTextBox1.AutoWordSelection = True
' Clear contents of control.
richTextBox1.Clear()
' Set the right margin to restrict horizontal text.
richTextBox1.RightMargin = 2
' Set the text for the control.
richTextBox1.SelectedText = "Alpha Bravo Charlie Delta Echo Foxtrot"
' Zoom by 2 points.
richTextBox1.ZoomFactor = 2.0F
End Sub


Elena Arzac

Preguntas similares