On 8/2/05, joao_m_fernandes <[EMAIL PROTECTED]> wrote:

> Manish posted this custom Editable Datefield  (
> http://manish.revise.org/archives/2005_04_01_archive.html ) wich is
> very usefull but when editing the field it doesn't dispatch de correct
> change event. If I pick the date from the pulldown it does dispatch
> the change event correctly but if I edit it, selectedDate is set but
> no event is dispatched.

        if (!_showingPullDown && __dateFunction != undefined)
        {
          pullDown.selectedDate = __dateFunction(text_mc.text);
          dispatchEvent({ type: "change" });
        }

You can dispatch the change event there.

> I tried to force the dispatch Event but with
> no luck , i'm getting a weird behavior, the textfield is overwriten.

It works for me.  Try this specific code and see if it's still giving
weird behaviour.

Manish


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hgrb1qu/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123100429/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to