void
MainForm::OnFocusGained(const Control& source)
{
+/*
+ * We don't need any action here for focus.
+ * The focus of Addressbar will be set after keypad is opened.(OnAddressBarKeypadOpened())
if(__pAddressbar != null)
{
__pFooterUrlField->SetFocusable(false);
__pAddressbar->SetAddressbarURLFocus();
-
}
-
+*/
}
void
{
__pAddressbar->SetShowState(true);
__pAddressbar->SetBounds(Rectangle(0,0,GetClientAreaBounds().width,__pAddressbar->GetHeight()));
-// __pAddressbar->SetAddressbarURLFocus();
+ __pAddressbar->SetAddressbarURLFocus();
}
}