Xtreme Visual Basic Talk

Xtreme Visual Basic Talk (http://www.xtremevbtalk.com/)
-   .NET General (http://www.xtremevbtalk.com/-net-general/)
-   -   VB 2010 - RichTextbox: how wrap and resize a table? (http://www.xtremevbtalk.com/-net-general/328621-vb-2010-richtextbox-wrap-resize-table.html)

Cambalinho_83 04-15-2017 03:36 AM

VB 2010 - RichTextbox: how wrap and resize a table?
heres how i insert a table:

'add a description to a procedure\funtion
    ''' Description: Inserts a Wraped Text Table
    ''' </summary>
    Public Sub InsertTable(rows As Integer, cols As Integer, width As Integer)
        Dim sbTaRtf As New System.Text.StringBuilder
        For index As Integer = 1 To rows
            For columns As Integer = 1 To cols
                sbTaRtf.Append("\cellx" & (width * (columns)).ToString)  'set that cell width to 1000
            sbTaRtf.Append("\intbl \cell \row")
        Me.SelectedRtf = sbTaRtf.ToString 'me it's my RichTextBox Inherited UserControl
    End Sub

from these RTF text i see 2 problems:
1 - how can word wrap the text on cell?
2 - using the mouse, how can i resize the cell table?

All times are GMT -6. The time now is 02:52 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO v2.0.15 (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.