Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSCAL.Calendar.7

Status
Not open for further replies.

dtutton

Technical User
Mar 28, 2001
58
DE
Im using the MSCAL.Calendar.7 activeX control and want a form field to update on a double click of the date selected in the ActiveX control.

Currently I have

Private Sub ActiveXCtl6_Updated(Code As Integer)
Me!Quote = Me!ActiveXCtl6
Me.Refresh
End Sub

But it only updates when I click on date in the Control and then the field.

There is no DoubleClick event on the Calendar control.

David
 
The ActiveX control let's you assign the output to a control. Merely selecting the date will fill in the box.

Steve King Professional growth follows a healthy professional curiosity
 
David,

Steve is right about the single click, but if you look in the Class Module event list for the ActiveXCtl, it does include DblClick.

I know the property box doesn't include it as an event but I did use both events on a form. Single Click showed Tasks for the selected day in a Memo/textbox. Double Click opened a NewTask for the selected date.

Admittedly, that was in Access 2000, but the presence of the DblClick in the Class Module makes me think it should be available in 97 as well.

Boxhead
 
Boxhead,

Im using Access97 and certainly dont have dblclick on properties events.

I guess an OK command is soln. Thanks

David
 
David, I'm sorry that I hadn't marked this thread and seen your response before now.

I couldn't find double-click as an option on the properties window.

I had to go to the class module and found it on the drop-down list of events.

BoxHead
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top