Added Change Image Size to context menu

This commit is contained in:
2017-01-19 18:05:52 +00:00
parent 3e5741ef75
commit 993a22eb5a
2 changed files with 14 additions and 0 deletions

View File

@@ -137,6 +137,13 @@ namespace Volian.Controls.Library
// left here in case we change our mind.
//groupPanelChgStepType.Style.BackColor = Color.PaleVioletRed;
}
public void FocusOnImageSize()
{
// B2016-237 added context menu item to change image size
tbFSWd.Focus();
tbFSWd.SelectionLength = 0;
tbFSWd.SelectionStart = tbFSWd.TextLength; // position to the end of the Width text box
}
public void ToggleChangeBar() // for use with shortcut keystoke <ALT><F2>
{
if (rbChgBarOff.Checked)