Results 1 to 5 of 5

Thread: System Time

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2004
    Location
    Philippines
    Posts
    117

    System Time

    Hi to all. I want to make my own status bar. My problem is, i want to put a time in my status bar, like the one in the status bar. A time that is continues. because the one that ive created only displays the time when the program was loaded.
    Ask a question and you're a fool for three minutes; do not ask a question and you're a fool for the rest of your life. (Chinese Proverb)

    ^ _ ^

    hope to earn reputation soon....

  2. #2
    Fanatic Member paralinx's Avatar
    Join Date
    Jun 2005
    Location
    Michigan
    Posts
    987

    Re: System Time

    Put a timer on your form and set it's interval to 1000, then in the timer put the status bar = Time

  3. #3
    Frenzied Member Andrew G's Avatar
    Join Date
    Nov 2005
    Location
    Sydney
    Posts
    1,587

    Re: System Time

    The status bar already has a time ability. Its under style in the panels tab of the properties.

  4. #4
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: System Time

    your question isn't very clear to me.

    Do you mean something like a clock ?

    Add a timer in your form.
    Set interval = 1000
    In Timer1_Timer event type StatusBar1.SimpleText = Time

    (I assume you are using 'simple' statusbar.)

    or you mean, you want to create your own custom statusbar ?
    In that case add a picturebox to your form. Set it's Allign = Bottom. In the picturebox add a label. Add a timer like I said above.
    In Timer1_Timer event type Label1.Caption = Time
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  5. #5

    Thread Starter
    Lively Member
    Join Date
    Aug 2004
    Location
    Philippines
    Posts
    117

    Re: System Time

    ok, thanks for the reply, ive already figured it out
    Ask a question and you're a fool for three minutes; do not ask a question and you're a fool for the rest of your life. (Chinese Proverb)

    ^ _ ^

    hope to earn reputation soon....

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