Results 1 to 8 of 8

Thread: [RESOLVED] How to make time control like this one?

  1. #1

    Thread Starter
    Hyperactive Member Bearnerd's Avatar
    Join Date
    Apr 2006
    Location
    Malaysia
    Posts
    290

    Resolved [RESOLVED] How to make time control like this one?

    Hi there to all forumers I want to know what is the component used in vb6 to display time as shown below

    [IMG]time.bmp[/IMG]

    thanks
    Attached Images Attached Images  

  2. #2
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Re: How to make time control like this one?

    It's similar to the DTPicker but I would guess that it's a custom control someone has created.

  3. #3
    Lively Member
    Join Date
    Jun 2006
    Location
    Chennai, India
    Posts
    87

    Re: How to make time control like this one?

    It is DTPicker component which is in Microsoft Windows Common Control-2 6.0

  4. #4
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Re: How to make time control like this one?

    I was right, just needed to tick the "UpDown" option and wallah

  5. #5
    Lively Member
    Join Date
    Jun 2006
    Location
    Chennai, India
    Posts
    87

    Re: How to make time control like this one?

    Ya, and If u need u can change the type of that control from it's property.

  6. #6

    Thread Starter
    Hyperactive Member Bearnerd's Avatar
    Join Date
    Apr 2006
    Location
    Malaysia
    Posts
    290

    Re: How to make time control like this one?

    Yup, everybodys right! It is a component from Microsoft Windows Common Control-2 6.0. Now if I want to use that control to make it functioning exactly like the windows time control how can I do this? I'm actually using this control to make user easy to set appointment time.

  7. #7
    Lively Member
    Join Date
    Jun 2006
    Location
    Chennai, India
    Posts
    87

    Re: How to make time control like this one?

    Create a Control and follow this think, If this is u need. or post ur exact need.
    VB Code:
    1. Private Sub Form_Load()
    2. DTPicker1.Format = dtpTime
    3. DTPicker1.Value = Now
    4. End Sub

  8. #8

    Thread Starter
    Hyperactive Member Bearnerd's Avatar
    Join Date
    Apr 2006
    Location
    Malaysia
    Posts
    290

    Re: How to make time control like this one?

    Thanks balajikandaswamy ! Exactly what I need

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