It's because "READ EVENTS" has already been issued by the App that calls
my code (that I have no control over)..
Any additional read events is ignored...
Here's the offending code from the object, when clicking on the little
calendar graphic to open the calendar:
LOCAL dHoldDate
Public dSelectedDate, oCalendar
dSelectedDate = this.Parent.txtDate.value
oCalendar = CREATEOBJECT("calCalendar", dSelectedDate)
this.Parent.PositionCalendar(oCalendar)
oCalendar.visible = .t.
BINDEVENT(thisform, "moved", this.Parent, "PositionCalendar")
READ EVENTS && <---- IGNORED BY MY PROGRAM....
UNBINDEVENTS(thisform, "moved", this.Parent, "PositionCalendar")
WITH this.parent
dHoldDate = .txtDate.Value
.txtDate.Value = dSelectedDate
.txtDate.refresh()
IF dHoldDate != dSelectedDate
this.parent.interactiveChange()
ENDIF
ENDWITH
oCalendar = NULL
RELEASE dSelectedDate, oCalendar
--------------------------------------------------------
Is there some other way to get the calendar displayed other than a READ
EVENTS????
would "oCalendar.show() work???
Chet Gardiner wrote:
Here's the deal, there's a "READ EVENTS" imbedded in the class object
that ISN'T being recognized. No calendar display alas, therefore no
picker.
Bummer, it's a cute little object, too bad I can't use it...
Pablo Rivera Sr wrote:
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Malcolm Greene
Sent: Monday, July 10, 2006 10:18 PM
To: [EMAIL PROTECTED]
Subject: Re: Have a Calendar object?
Chet,
Check Craig Boyd's www.sweetpotatosoftware.com blog - there's a great
date
picker.
Malcolm
Hi Chet.
If you cant find it there, try this link: http://tinyurl.com/pvxje. ;)
Be well
================
PabloSr
In a learning adventure
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.