You must be doing something in the loadLocal call.  Can you send that?
Elia

-----Original Message-----
From: Siupo [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 24, 1999 8:54 PM
To: [EMAIL PROTECTED]
Subject: Re: repeat button!!


> Well, where's the break statement, and also, you should return handled =
> false for repeating controls if you actually want them to repeat. it's in
> the docs.
> 
> Alan

actually, I have written in like that ,

static Boolean MainFormHandleEvent(EventPtr eventP)
{
    Boolean handled = false;
    FormPtr frmP;

        switch (eventP->eType) 
        
        {
                case ctlRepeatEvent:
                        switch (eventP->data.ctlRepeat.controlID)
                        {

                                case MainLocalUpRepeating:
                                        loadLocal();                            
                                        break;
                        }
                break;
                ..
                ..
        }
                                        

the handle default to false . when I remark loadLocal(), it like a repeat
button,  otherwise, the button just like a push button, 

anybody give a me hand !!?
thx

Eric.




Reply via email to