Step through your event loop... somewhere some how, handled is getting
changed to 'true' that's what is breaking it.
Look for a missing 'break;' that setting it to true in a later handler (or
even prior).
A very common mistake (at least on my end it has been).
-MD
>> You must be doing something in the loadLocal call. Can you send that?
>> Elia
>>
>nothing special at the loadlocal call, just some WinDrawChars and db
>loading.
>is it problem ?
>
>> 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.
>>
>>
>>
>>
>>