Results 1 to 6 of 6

Thread: sstab Issue

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2009
    Location
    Watch Window(Shift+f9)
    Posts
    1,879

    Question sstab Issue

    I simple want when user type 1 then it needs to create one tab. but when he type 2 then it needs to create 2 tab.in a way so that . if even he will type
    10 it needs to create 10 tab .So let me know .how should i achieve it ? .here are the code.where i am confessing .
    Code:
    Public Sub CreateTab()
    Dim row As Integer
    row = 4 'here i don't want to use fixed variable
    If Not Text1.Text = "" Then
       If Text1.Text > 1 And row > 0 Then   SSTab1.Tabs = row
       SSTab1.TabsPerRow = 4
     'For i = 1 To Row Step 1
     'next
       
    End If
    End If
    End Sub
    
    Private Sub Text1_Change()
    CreateTab
    End Sub
    Last edited by firoz.raj; Nov 21st, 2011 at 05:09 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width