Results 1 to 5 of 5

Thread: how to make a pop up calendar?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2003
    Posts
    16

    how to make a pop up calendar?

    ... when user trying to enter a particular date by just click on the date on the calendar??

  2. #2
    Addicted Member
    Join Date
    Nov 2001
    Location
    San Diego, CA
    Posts
    159
    If you are using the Calendar object, simply use the following

    Private Sub Calendar_Click()
    Me.txtCalendar.Text = Me.Calendar.Value
    End Sub

    assuming that the txtCalendar is a text box

    Calendar and Month objects are great when programming and you have to have dates selected by the user.
    ttfn
    Kicker

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2003
    Posts
    16
    thanks for the reply. btw, i have no idea where to get the calendar object, care to guide me??

    thanks!

  4. #4
    Addicted Member
    Join Date
    Nov 2001
    Location
    San Diego, CA
    Posts
    159

    Wink

    Don't know if you use or have added extra components to your projects yet, but I thought the Calendar component was part of the VB package. Try one of these...

    Ctrl-T to bring up the Components manager and see if there is a MS Calendar Control (MSCAL.OCX) . If found, add it to your project.

    If not, find the MSCAL.ocx file and add it to your computer. Then add it to your project .

    Failing to find the file, let me know and I will see what I can do to get it to you.
    ttfn
    Kicker

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Feb 2003
    Posts
    16
    Originally posted by CliffPhilip
    Don't know if you use or have added extra components to your projects yet, but I thought the Calendar component was part of the VB package. Try one of these...

    Ctrl-T to bring up the Components manager and see if there is a MS Calendar Control (MSCAL.OCX) . If found, add it to your project.

    If not, find the MSCAL.ocx file and add it to your computer. Then add it to your project .

    Failing to find the file, let me know and I will see what I can do to get it to you.
    i have just successfully to add a calendar, it's very nice of you and 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