Quote:
Originally Posted by BenChen
Hi surqizu,
That's really difficult to explain here! A much easier option would be to use one of the 505's physical buttons that performs the cancel when the event popup is visible. For example, if we use the "Mark" button, change the procedure
Code:
target.doMark = function () {
monthNum=todaysMonth;
yearNum=todaysYear;
this.dateChanged();
return;
}
to
Code:
target.doMark = function () {
if (eventsDlgOpen) {
target.EVENTS_DIALOG.btn_Cancel.click();
} else {
monthNum=todaysMonth;
yearNum=todaysYear;
this.dateChanged();
}
return;
}
Then you just need to add a label on the event popup that says "[Mark] Cancel".
Now, all this programming was not tested, so it might not work as I expect! Let me know how you get on...
Sincerely,
Ben.
|
Quote:
Originally Posted by BenChen
Hi surquizu,
Actually, you would also need to add another function line (somewhere around line 469 of calendar.xml) that says
Code:
<function id="doMark"> this.container.doMark(); </function>
Hope that makes it work!
Sincerely,
Ben.
|
Thanks, but..
I do not understand

, it works perfect in eBookSim but not work on reader