Group:  Microsoft Access ยป microsoft.public.access.activexcontrol
Thread: where is onclick event in calendar

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

where is onclick event in calendar
"mikeslaptop" <me[ at ]here.com> 05.03.2006 16:22:43
using ms calendar control in access.
i want it to do something when i change the date, but there's no onclick
event associated with it.
only gotfocus,lostfocus,updated,exit,enter.
i tried all the events, and was hoping the update event would work, but i
can even seem to get it to trigger.

any ideas??

thanks.


Re: where is onclick event in calendar
"Douglas J. Steele" <NOSPAM_djsteele[ at ]NOSPAM_canada.com> 05.03.2006 16:45:57
I never use that control (preferring the one Stephen Lebans has at
http://www.lebans.com/monthcalendar.htm), but I do know that sometimes the
events exist even if they don't show up in the control's Properties dialog.

In the VB Editor, select the calendar control in the left-hand combo box,
then look in the list of possibilities in the right-hand combo box. Is Click
there?

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"mikeslaptop" <me[ at ]here.com> wrote in message
news:nfEOf.13021$dg.6167[ at ]clgrps13...
[Quoted Text]
> using ms calendar control in access.
> i want it to do something when i change the date, but there's no onclick
> event associated with it.
> only gotfocus,lostfocus,updated,exit,enter.
> i tried all the events, and was hoping the update event would work, but i
> can even seem to get it to trigger.
>
> any ideas??
>
> thanks.
>


Re: where is onclick event in calendar
"mikeslaptop" <me[ at ]here.com> 05.03.2006 22:49:23
thanks. i downloaded and attempted to use it. WAY to much work, and above my
level of understanding all of what i'm doing. also, if i loose this piece of
paper, i'll never be able to use this calendar in another app.
i like the idea of installing a control and dropping it onto my form.
all i want to do is click on a date and make something happen.

i also looked the the object browser, and it did show a click event. i
typed in a sub for the click event, but nothing happened. this is just all
too confusing.
why isnt there a click event on the microsft-calendar control?? i really
dont get it.
sorry, frustration creeping in.
i also looked into creating my own control, but i apparently need $1000
worth of software and lots of classroom time.




"Douglas J. Steele" <NOSPAM_djsteele[ at ]NOSPAM_canada.com> wrote in message
news:%23LS2GRHQGHA.3848[ at ]TK2MSFTNGP12.phx.gbl...
[Quoted Text]
>I never use that control (preferring the one Stephen Lebans has at
>http://www.lebans.com/monthcalendar.htm), but I do know that sometimes the
>events exist even if they don't show up in the control's Properties dialog.
>
> In the VB Editor, select the calendar control in the left-hand combo box,
> then look in the list of possibilities in the right-hand combo box. Is
> Click there?
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no private e-mails, please)
>
>
> "mikeslaptop" <me[ at ]here.com> wrote in message
> news:nfEOf.13021$dg.6167[ at ]clgrps13...
>> using ms calendar control in access.
>> i want it to do something when i change the date, but there's no onclick
>> event associated with it.
>> only gotfocus,lostfocus,updated,exit,enter.
>> i tried all the events, and was hoping the update event would work, but i
>> can even seem to get it to trigger.
>>
>> any ideas??
>>
>> thanks.
>>
>
>


Re: where is onclick event in calendar
"Douglas J. Steele" <NOSPAM_djsteele[ at ]NOSPAM_canada.com> 06.03.2006 22:33:57
Believe me, Stephen's calendar is far simpler than a control. Including
controls always significantly complicates the distribution of applications.

It doesn't matter whether or not you understand the modules that you need to
copy into your application: after all, you don't know what code is embedded
in any controls that you use.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"mikeslaptop" <me[ at ]here.com> wrote in message
news:TVJOf.14755$M52.7778[ at ]edtnps89...
[Quoted Text]
> thanks. i downloaded and attempted to use it. WAY to much work, and above
> my level of understanding all of what i'm doing. also, if i loose this
> piece of paper, i'll never be able to use this calendar in another app.
> i like the idea of installing a control and dropping it onto my form.
> all i want to do is click on a date and make something happen.
>
> i also looked the the object browser, and it did show a click event. i
> typed in a sub for the click event, but nothing happened. this is just all
> too confusing.
> why isnt there a click event on the microsft-calendar control?? i really
> dont get it.
> sorry, frustration creeping in.
> i also looked into creating my own control, but i apparently need $1000
> worth of software and lots of classroom time.
>
>
>
>
> "Douglas J. Steele" <NOSPAM_djsteele[ at ]NOSPAM_canada.com> wrote in message
> news:%23LS2GRHQGHA.3848[ at ]TK2MSFTNGP12.phx.gbl...
>>I never use that control (preferring the one Stephen Lebans has at
>>http://www.lebans.com/monthcalendar.htm), but I do know that sometimes the
>>events exist even if they don't show up in the control's Properties
>>dialog.
>>
>> In the VB Editor, select the calendar control in the left-hand combo box,
>> then look in the list of possibilities in the right-hand combo box. Is
>> Click there?
>>
>> --
>> Doug Steele, Microsoft Access MVP
>> http://I.Am/DougSteele
>> (no private e-mails, please)
>>
>>
>> "mikeslaptop" <me[ at ]here.com> wrote in message
>> news:nfEOf.13021$dg.6167[ at ]clgrps13...
>>> using ms calendar control in access.
>>> i want it to do something when i change the date, but there's no onclick
>>> event associated with it.
>>> only gotfocus,lostfocus,updated,exit,enter.
>>> i tried all the events, and was hoping the update event would work, but
>>> i can even seem to get it to trigger.
>>>
>>> any ideas??
>>>
>>> thanks.
>>>
>>
>>
>
>


Re: where is onclick event in calendar
"HKComputer" <u19607[ at ]uwe> 12.03.2006 18:14:04
If you are talking about the ActiveX calendar control that ships with Access,
it does have a click event. I'm using Access XP and Access 2003 with the
ActiveX Calendar 8.0 control. I use the click event all the time to transfer
the date to the correct text box and then close the calendar.

You must have something wrong in your sub. Try something simple to test it:

Private Sub Calendar0_Click()
MsgBox ("Hi from a calendar.")
End Sub
RE: where is onclick event in calendar
Chris 13.04.2006 16:12:02
Mike,
If you right click the calendar and the choose the "Build Event..." option
that is how you program the OnClick event for the control.

"mikeslaptop" wrote:

[Quoted Text]
> using ms calendar control in access.
> i want it to do something when i change the date, but there's no onclick
> event associated with it.
> only gotfocus,lostfocus,updated,exit,enter.
> i tried all the events, and was hoping the update event would work, but i
> can even seem to get it to trigger.
>
> any ideas??
>
> thanks.
>
>
>

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net