void
EventSearcherForm::OnTextValueChanged(const Control& source)
{
+ AppLogDebug("Enter");
if (__pPm->GetSearchText() != __pSearchBarInput->GetText())
{
__pPm->SearchEvent(__pSearchBarInput->GetText());
void
EventSearcherForm::OnTextValueChangeCanceled(const Control& source)
{
+ AppLogDebug("Enter");
if (__pPm->GetSearchText() != __pSearchBarInput->GetText())
{
__pPm->SearchEvent(__pSearchBarInput->GetText());
void
EventSearcherForm::OnKeypadOpened(Control& source)
{
- Invalidate(true);
}
void
EventSearcherForm::OnKeypadClosed(Control& source)
{
- String text = __pSearchBarInput->GetText();
- __pSearchBarInput->SetMode(SEARCH_BAR_MODE_NORMAL);
- __pSearchBarInput->SetText(text);
- Invalidate(true);
}
void
EventSearcherForm::OnKeypadActionPerformed(Control& source, KeypadAction keypadAction)
{
- if (keypadAction == KEYPAD_ACTION_SEARCH || keypadAction == KEYPAD_ACTION_ENTER)
+ AppLogDebug("Enter");
+ if (keypadAction == KEYPAD_ACTION_SEARCH)
{
- SetFocus();
-
if (__pPm->GetSearchText() != __pSearchBarInput->GetText())
{
__pPm->SearchEvent(__pSearchBarInput->GetText());
__pGroupedListViewEvents->UpdateList();
}
- String text = __pSearchBarInput->GetText();
- __pSearchBarInput->SetMode(SEARCH_BAR_MODE_NORMAL);
- __pSearchBarInput->SetText(text);
- __pSearchBarInput->Invalidate(false);
+ __pSearchBarInput->HideKeypad();
}
}