Results 1 to 3 of 3

Thread: Have DatePicker caldener be pop-up from vb6 script?

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2020
    Posts
    4

    Have DatePicker caldener be pop-up from vb6 script?

    I added a button w/ calender icon. Then added the button click event. Now how do I tell the VB6 script to pop-up the datepicker? (Show GUI calender like a click event)

    Private Sub btnSignedDateShowCalender_Click()
    If IsNull(txtSignedDate.text) Or txtSignedDate.text = "" Then
    dtPickerSigned.value = Date
    Else
    dtPickerSigned.value = CDate(txtSignedDate.text)
    End If

    'dtPickerSigned_Click
    dtPickerSigned_changed ' What API object do we tell the dtPickerSigned to pop-up the GUI calender?


    End Sub
    Last edited by fletchsod; Jan 20th, 2023 at 09:49 AM.

  2. #2
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,531

    Re: Have DatePicker caldener be pop-up from vb6 script?

    Maybe use the DateTimePicker instead ...

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2020
    Posts
    4

    Re: Have DatePicker caldener be pop-up from vb6 script?

    The thing is the datepicker doesn't do null so we're giving the employee the textbox to allow them to clear out the value. Oh well

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