> 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