CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2001
    Posts
    29

    Display clock in the status bar

    Does anyone know how to display time on the status bar using vb?


  2. #2
    Join Date
    Jun 2001
    Location
    Memphis, TN
    Posts
    146

    Re: Display clock in the status bar

    Put a Timer control on your from and set its interval to 1000 (1 second). In the Timer event, update the panel in your status bar with

    Statusbar1.panels(1).Text = Time



  3. #3
    Join Date
    Feb 2000
    Location
    Ireland
    Posts
    808

    Re: Display clock in the status bar

    You can set the style one of the panels to be sbrTime and it will show the current system time


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

Featured