DateTimePicker 
Author Message
 DateTimePicker

How do you trigger the onchange event for DateTimePicker Control?

I have the following code:
<OBJECT classid="clsid:20DD1B9E-87C4-11D1-8BE3-0000F8754DA1" height=24
id=DTPicker1
 style="HEIGHT: 24px; LEFT: 0px; TOP: 0px; WIDTH: 310px" width=310
VIEWASTEXT>
 <PARAM NAME="_ExtentX" VALUE="8202">
 <PARAM NAME="_ExtentY" VALUE="635">
 <PARAM NAME="_Version" VALUE="393216">
 <PARAM NAME="MousePointer" VALUE="0">
 <PARAM NAME="Enabled" VALUE="1">
 <PARAM NAME="OLEDropMode" VALUE="0">
 <PARAM NAME="CalendarBackColor" VALUE="-2147483643">
 <PARAM NAME="CalendarForeColor" VALUE="-2147483630">
 <PARAM NAME="CalendarTitleBackColor" VALUE="-2147483633">
 <PARAM NAME="CalendarTitleForeColor" VALUE="-2147483630">
 <PARAM NAME="CalendarTrailingForeColor" VALUE="-2147483631">
 <PARAM NAME="CheckBox" VALUE="1">
 <PARAM NAME="CustomFormat" VALUE="">
 <PARAM NAME="DateIsNull" VALUE="0">
 <PARAM NAME="Format" VALUE="662831105">
 <PARAM NAME="UpDown" VALUE="0">
 <PARAM NAME="CurrentDate" VALUE="36843">
 <PARAM NAME="MaxDate" VALUE="2958465">
 <PARAM NAME="MinDate" VALUE="-109205">
</OBJECT>



Fri, 02 May 2003 03:00:00 GMT  
 DateTimePicker
In Visual Basic, it is CloseUp(). However, I can't seem to trap the event in
IE.

Private Sub DTPicker1_CloseUp()
MsgBox (DTPicker1.Day)
End Sub

Ken


Quote:
> How do you trigger the onchange event for DateTimePicker Control?

> I have the following code:
> <OBJECT classid="clsid:20DD1B9E-87C4-11D1-8BE3-0000F8754DA1" height=24
> id=DTPicker1
>  style="HEIGHT: 24px; LEFT: 0px; TOP: 0px; WIDTH: 310px" width=310
> VIEWASTEXT>
>  <PARAM NAME="_ExtentX" VALUE="8202">
>  <PARAM NAME="_ExtentY" VALUE="635">
>  <PARAM NAME="_Version" VALUE="393216">
>  <PARAM NAME="MousePointer" VALUE="0">
>  <PARAM NAME="Enabled" VALUE="1">
>  <PARAM NAME="OLEDropMode" VALUE="0">
>  <PARAM NAME="CalendarBackColor" VALUE="-2147483643">
>  <PARAM NAME="CalendarForeColor" VALUE="-2147483630">
>  <PARAM NAME="CalendarTitleBackColor" VALUE="-2147483633">
>  <PARAM NAME="CalendarTitleForeColor" VALUE="-2147483630">
>  <PARAM NAME="CalendarTrailingForeColor" VALUE="-2147483631">
>  <PARAM NAME="CheckBox" VALUE="1">
>  <PARAM NAME="CustomFormat" VALUE="">
>  <PARAM NAME="DateIsNull" VALUE="0">
>  <PARAM NAME="Format" VALUE="662831105">
>  <PARAM NAME="UpDown" VALUE="0">
>  <PARAM NAME="CurrentDate" VALUE="36843">
>  <PARAM NAME="MaxDate" VALUE="2958465">
>  <PARAM NAME="MinDate" VALUE="-109205">
> </OBJECT>



Fri, 02 May 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. DateTimePicker

2. DateTimePicker

3. DateTimePicker Control Problems on Web Page.

4. DateTimePicker

5. DateTimePicker and Listview Cotrol

6. DateTimePicker

7. DateTimePicker on ASP Page

8. DateTimePicker Control Event

9. DateTimePicker Control Problems on Web Page.

 

 
Powered by phpBB® Forum Software