¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Active X calendar control


Cliff's email
 

¿ªÔÆÌåÓý

Thanks, I actually figured this out today running through the watch window

?

Walk in Beauty,

?

Cliff Smith

hawkridge@... / 1 608 647-2366

?

-----Original Message-----

From: Eric Selje [mailto:eselje@...]
Sent: Wednesday, May 05, 2004 10:44 AM
To: madfox_vfp@...
Subject: Re: [madfox_vfp] Active X calendar control

?

Because of the hassle involved with ActiveX controls (making sure the end-users got it, making sure all developers have a developers license, etc.) I try to use native controls whenever possible.? There's a really good VFP-written Calendar control available on the UniversalThread.

Eric

Chad J. Lemmer wrote:

You need to reference the OBJECT in the OLE container, like this:

?

This does NOT work:

thisform.olecontrol1.Enabled = .f.

?

This does work:

thisform.olecontrol1.object.Enabled = .f.

?

----- Original Message -----

From: HawkRidge

Sent: Wednesday, May 05, 2004 8:35 AM

Subject: [madfox_vfp] Active X calendar control

?

Hi:

?

I'm working on a new app for a client and am using the MS date & time picker v6(sp4) calendar control.? So here's the problem, and maybe there is just something I am not grokking here.? I need to disable this control from other places on a form.? But it seems that no matter how I set the .enabled property the damned control stays enabled.? I ran this through the debugger so I could watch things and the property says disabled, still the control is enabled and you can fool with it and the change() (same as interactivechange() event)?and click() events fire.? Any insights would be appreciated.

?

Walk In Beauty,

Cliff Smith
hawkridge@... / 608 647-2366

?

?




Join [email protected] to automatically receive all group messages.