-
Jan 20th, 2023, 09:45 AM
#1
Thread Starter
New Member
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.
-
Jan 20th, 2023, 10:06 AM
#2
Re: Have DatePicker caldener be pop-up from vb6 script?
Maybe use the DateTimePicker instead ...
-tg
-
Jan 20th, 2023, 10:11 AM
#3
Thread Starter
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|