This commit is contained in:
parent
75907928d7
commit
bb0f679c6b
2 changed files with 8 additions and 2 deletions
|
@ -90,9 +90,12 @@ namespace SafeExamBrowser.UserInterface.Desktop.Windows
|
||||||
Activate();
|
Activate();
|
||||||
|
|
||||||
if (forward)
|
if (forward)
|
||||||
|
{
|
||||||
|
if (ApplicationStackPanel.Children.Count > 0)
|
||||||
{
|
{
|
||||||
SetFocusWithin(ApplicationStackPanel.Children[0]);
|
SetFocusWithin(ApplicationStackPanel.Children[0]);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
QuitButton.Focus();
|
QuitButton.Focus();
|
||||||
|
|
|
@ -89,9 +89,12 @@ namespace SafeExamBrowser.UserInterface.Mobile.Windows
|
||||||
Activate();
|
Activate();
|
||||||
|
|
||||||
if (fromTop)
|
if (fromTop)
|
||||||
|
{
|
||||||
|
if (ApplicationStackPanel.Children.Count > 0)
|
||||||
{
|
{
|
||||||
ApplicationStackPanel.Children[0].Focus();
|
ApplicationStackPanel.Children[0].Focus();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
QuitButton.Focus();
|
QuitButton.Focus();
|
||||||
|
|
Loading…
Reference in a new issue