this.dateCellHandler();
while (true) {
UIutils.processGUIActions();
EventHandle qq_currentEvent = EventManager.waitForEvent();
if (qq_currentEvent == null)
break;
// -------------
// task.Shutdown
// -------------
if (qq_currentEvent.isEvent(TaskHandle_Shutdown_task)) {
// ================ Begin Forte Event Handler Translation ================
break;
// ================ End Forte Event Handler Translation ================
}
// ----------------------------
// <MonthYear>.AfterValueChange
// ----------------------------
else if (qq_currentEvent.isEvent(TextGraphic_AfterValueChange_getqq_MonthYear)) {
try {
UIutils.startWaitCursor();
// ================ Begin Forte Event Handler Translation ================
break;
// ================ End Forte Event Handler Translation ================
}
finally {
UIutils.stopWaitCursor();
}
}
// -----------------
// <LeftArrow>.Click
// -----------------
else if (qq_currentEvent.isEvent(PictureButton_Click_getqq_LeftArrow)) {
try {
UIutils.startWaitCursor();
// ================ Begin Forte Event Handler Translation ================
this.fillCalendar(((DateTimeData)DateInput.getObject()).subtract(OneYear));
this.highlightDay();
// ================ End Forte Event Handler Translation ================
}
finally {
UIutils.stopWaitCursor();
}
}
// ------------------
// <RightArrow>.Click
// ------------------
else if (qq_currentEvent.isEvent(PictureButton_Click_getqq_RightArrow)) {
try {
UIutils.startWaitCursor();
// ================ Begin Forte Event Handler Translation ================
this.fillCalendar(((DateTimeData)DateInput.getObject()).add(OneYear));
this.highlightDay();
// ================ End Forte Event Handler Translation ================
}
finally {
UIutils.stopWaitCursor();
}
}
// ------------------
// <LeftArrow2>.Click
// ------------------
else if (qq_currentEvent.isEvent(PictureButton_Click_getqq_LeftArrow2)) {
try {
UIutils.startWaitCursor();
// ================ Begin Forte Event Handler Translation ================
this.fillCalendar(((DateTimeData)DateInput.getObject()).subtract(OneMonth));
this.highlightDay();
// ================ End Forte Event Handler Translation ================
}
finally {
UIutils.stopWaitCursor();
}
}
// -------------------
// <RightArrow2>.Click
// -------------------
else if (qq_currentEvent.isEvent(PictureButton_Click_getqq_RightArrow2)) {
try {
UIutils.startWaitCursor();
// ================ Begin Forte Event Handler Translation ================
this.fillCalendar(((DateTimeData)DateInput.getObject()).add(OneMonth));
this.highlightDay();
// ================ End Forte Event Handler Translation ================
}
finally {
UIutils.stopWaitCursor();
}
}
// ------------------
// <CancelDate>.Click
// ------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_CancelDate)) {
try {
UIutils.startWaitCursor();
// ================ Begin Forte Event Handler Translation ================
CancelEntry = true;
UIutils.setBackground(this.getCurrentHighlight(), Color.lightGray);
((DateTimeData)DateInput.getObject()).setValue(OldDate);
this.fillCalendar((DateTimeData)DateInput.getObject());
this.highlightDay();
break;
// ================ End Forte Event Handler Translation ================
}
finally {
UIutils.stopWaitCursor();
}
}
// -----------------------
// Window.FunctionKeyPress
// -----------------------
else if (qq_currentEvent.isEvent(Window_FunctionKeyPress_this)) {
try {
UIutils.startWaitCursor();
// ================ Begin Forte Event Handler Translation ================
int key = ((ParameterHolder)qq_currentEvent.getParameter("keyID")).getInt();
if (key == Constants.VK_ESCAPE) {
CancelEntry = true;
UIutils.setBackground(this.getCurrentHighlight(), Color.lightGray);
((DateTimeData)DateInput.getObject()).setValue(OldDate);