B2016-040: after delete, steps disappear from edit screen.
This commit is contained in:
parent
865593a26b
commit
debcc7db30
@ -734,7 +734,14 @@ namespace Volian.Controls.Library
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//_MyTimer.ActiveProcess = "SetFocus";
|
//_MyTimer.ActiveProcess = "SetFocus";
|
||||||
newFocus.SetFocus();
|
|
||||||
|
int b4topadjust = newFocus.Top;
|
||||||
|
newFocus.SetFocus(); //shifts edititem to center it
|
||||||
|
// need to adjust the TopMostYBefore so that it accounts for any shifting that occurred when the
|
||||||
|
// SetFocus was called. This fixes B2016-040.
|
||||||
|
b4topadjust -= newFocus.Top;
|
||||||
|
TopMostYBefore -= b4topadjust;
|
||||||
|
|
||||||
//_MyTimer.ActiveProcess = "Dispose";
|
//_MyTimer.ActiveProcess = "Dispose";
|
||||||
Dispose();
|
Dispose();
|
||||||
//_MyTimer.ActiveProcess = "SetAllTabs";
|
//_MyTimer.ActiveProcess = "SetAllTabs";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user