Results 1 to 3 of 3

Thread: Status Strip item update

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2015
    Posts
    13

    Status Strip item update

    HI,

    In vb.net, when i debug the code, all the messages shown in msg variable. whatever msg is showing is assigned to statusstrip.items(0).text.
    only 2 msgs are showing on the statusstrip. other msgs are not updated. not showing on statusstrip control.
    How to update, whenever the pointer move to msg statement. those msgs displayed on statusstrip.
    in my code , i was given like this.

    With cntlStatusStrip1
    .Items(0).Text = msg
    .Items(0).AutoSize = True
    .Items(0).Size = New System.Drawing.Size(200, 100)
    ' .Items(0).Width = 500

    .Items(1).Text = Now.ToLongTimeString
    .Items(1).AutoSize = True
    .Items(1).Size = New System.Drawing.Size(200, 100)

    .Items(2).Text = System.DateTime.Now.ToShortDateString
    .Items(2).AutoSize = True
    .Items(2).Size = New System.Drawing.Size(200, 100)

    End With

    please help, Thanks in advance

    Regards,
    Sireesha.

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    25,479

    Re: Status Strip item update

    try taking out the autosize lines

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2015
    Posts
    13

    Re: Status Strip item update

    i tried but not getting. Please help me.

    Thanks

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