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.
?
toggle quoted message
Show quoted text
----- Original Message -----
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
?