Added Change Image Size to context menu
This commit is contained in:
parent
3e5741ef75
commit
993a22eb5a
@ -2925,6 +2925,13 @@ namespace VEPROMS
|
||||
infoTabs.SelectedTab = infotabTags;
|
||||
displayTags.HighlightChangeStep();
|
||||
}
|
||||
else if (args.PanelTabName == "Change Image Size")
|
||||
{
|
||||
// B2016-237 added context menu item to change image size
|
||||
infoPanel.Expanded = true;
|
||||
infoTabs.SelectedTab = infotabTags;
|
||||
displayTags.FocusOnImageSize();
|
||||
}
|
||||
else if (args.PanelTabName == "FndRpl")
|
||||
{
|
||||
dlgFindReplace.InApproved = (_SelectedDVI != null && _SelectedDVI.VersionType == 127);
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user