Results 1 to 3 of 3

Thread: status bar help

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 1999
    Posts
    204
    i have this code and it want work can some one help me

    Code:
    myString = txtWebWrighter.Text
        charCount = Len(myString)
        frmMain.StatusBar1.Panels.Item.Index = 3
        frmMain.StatusBar1.Panels.Item.Text = "Char: " & charCount & " "
    the code is exaplinable by its self im tired thanks bye
    WHat would we do with out Microsoft.
    A lot more.

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Did you Dim your string as a string?
    Code:
    Dim myString As String
    Hope that was your prob,
    D!m
    Dim

  3. #3
    Lively Member
    Join Date
    Mar 2000
    Posts
    87
    Try this.

    Code:
    Dim myString    As String
    
    myString = txtWebWrighter.Text
    charCount = Len(myString)
    
    frmMain.StatusBar1.Panels(3).Text = "Char: " & charCount
    Use a key if you can to reference the panel which you set in the properties at design time.

    Code:
    frmMain.StatusBar1.Panels("CHARS").Text = "Char: " & charCount

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