B2025-050 Fixed settings that required restarting PROMS and the toggle of Sync Navigation
This commit is contained in:
@@ -201,11 +201,15 @@ namespace Volian.Controls.Library
|
||||
/// </summary>
|
||||
public ItemInfo MyItemInfo
|
||||
{
|
||||
get { return _MyItemInfo; }
|
||||
get
|
||||
{
|
||||
ToolTipOnOff(); //B2025-050 Show the tooltip based on User Options Settings
|
||||
return _MyItemInfo;
|
||||
}
|
||||
set
|
||||
{
|
||||
_MyItemInfo = value;
|
||||
if (VlnSettings.StepTypeToolType) SetToolTip(_MyItemInfo.ToolTip);
|
||||
SetToolTip(_MyItemInfo.ToolTip); // B2025-050 always set tooltip text. This method will also show the tooltip based on User Options Settings
|
||||
ChangeBar = _MyItemInfo.HasChangeBar;
|
||||
CheckOff co = _MyItemInfo.GetCheckOffStep();
|
||||
if (co != null && co.UIMark != null)
|
||||
@@ -2977,6 +2981,8 @@ namespace Volian.Controls.Library
|
||||
public abstract void SetText();
|
||||
public abstract void SetExpandAndExpander(ItemInfo itemInfo);
|
||||
public abstract void SaveCurrentAndContents();
|
||||
public abstract void ToolTipOnOff();
|
||||
|
||||
#endregion
|
||||
private int SupInfoTopOffset
|
||||
{
|
||||
|
@@ -462,8 +462,12 @@ namespace Volian.Controls.Library
|
||||
DevComponents.DotNetBar.SuperTooltipInfo tpi = new DevComponents.DotNetBar.SuperTooltipInfo("", "", tip, null, null, DevComponents.DotNetBar.eTooltipColor.Lemon);
|
||||
_MyToolTip.MinimumTooltipSize = new Size(0, 24);
|
||||
_MyToolTip.TooltipDuration = 3;
|
||||
//_MyToolTip.SetSuperTooltip(MyStepRTB, tpi);
|
||||
_MyToolTip.SetSuperTooltip(MyFlexGrid, tpi);
|
||||
ToolTipOnOff(); // B2025-050 Show the tooltip based on User Options Settings
|
||||
}
|
||||
public override void ToolTipOnOff()
|
||||
{
|
||||
_MyToolTip.Enabled = VlnSettings.StepTypeToolTip; // B2025-XXX Show the tooltip based on User Options Settings
|
||||
}
|
||||
private bool DoNotRefresh = false;
|
||||
public override void RefreshContent()
|
||||
|
@@ -9,6 +9,7 @@ using System.IO;
|
||||
using System.Text.RegularExpressions;
|
||||
using VEPROMS.CSLA.Library;
|
||||
using JR.Utils.GUI.Forms;
|
||||
using Volian.Base.Library;
|
||||
|
||||
namespace Volian.Controls.Library
|
||||
{
|
||||
@@ -78,7 +79,7 @@ namespace Volian.Controls.Library
|
||||
/// <summary>
|
||||
/// Left edge of the PictureBox
|
||||
/// </summary>
|
||||
public override int ContentLeft
|
||||
override public int ContentLeft
|
||||
{
|
||||
get { return Left + _MyPictureBox.Left; }
|
||||
}
|
||||
@@ -95,8 +96,14 @@ namespace Volian.Controls.Library
|
||||
_MyToolTip.MinimumTooltipSize = new Size(0, 24);
|
||||
_MyToolTip.TooltipDuration = 3;
|
||||
_MyToolTip.SetSuperTooltip(MyPictureBox, tpi);
|
||||
ToolTipOnOff(); // B2025-050 Show the tooltip based on User Options Settings
|
||||
}
|
||||
public override void RefreshContent()
|
||||
public override void ToolTipOnOff()
|
||||
{
|
||||
_MyToolTip.Enabled = VlnSettings.StepTypeToolTip; // B2025-XXX Show the tooltip based on User Options Settings
|
||||
}
|
||||
|
||||
override public void RefreshContent()
|
||||
{
|
||||
IdentifyMe(false);
|
||||
RefreshDisplay(false);
|
||||
|
@@ -7,6 +7,7 @@ using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Windows.Forms;
|
||||
using VEPROMS.CSLA.Library;
|
||||
using Volian.Base.Library;
|
||||
|
||||
namespace Volian.Controls.Library
|
||||
{
|
||||
@@ -133,6 +134,11 @@ namespace Volian.Controls.Library
|
||||
_MyToolTip.MinimumTooltipSize = new Size(0, 24);
|
||||
_MyToolTip.TooltipDuration = 3;
|
||||
_MyToolTip.SetSuperTooltip(MyStepRTB, tpi);
|
||||
ToolTipOnOff(); // B2025-050 Show the tooltip based on User Options Settings
|
||||
}
|
||||
public override void ToolTipOnOff()
|
||||
{
|
||||
_MyToolTip.Enabled = VlnSettings.StepTypeToolTip; // B2025-XXX Show the tooltip based on User Options Settings
|
||||
}
|
||||
public override void RefreshContent()
|
||||
{
|
||||
|
@@ -97,6 +97,11 @@ namespace Volian.Controls.Library
|
||||
_MyToolTip.MinimumTooltipSize = new Size(0, 24);
|
||||
_MyToolTip.TooltipDuration = 3;
|
||||
_MyToolTip.SetSuperTooltip(MyStepRTB, tpi);
|
||||
ToolTipOnOff(); // B2025-050 Show the tooltip based on User Options Settings
|
||||
}
|
||||
public override void ToolTipOnOff()
|
||||
{
|
||||
_MyToolTip.Enabled = VlnSettings.StepTypeToolTip; // B2025-XXX Show the tooltip based on User Options Settings
|
||||
}
|
||||
public override void RefreshContent()
|
||||
{
|
||||
|
Reference in New Issue
Block a user