From 18b9fb3c2efc8b78c9b316f878d1ffcc93d5305b Mon Sep 17 00:00:00 2001 From: Kathy Date: Tue, 19 Oct 2010 16:47:56 +0000 Subject: [PATCH] --- PROMS/Volian.Controls.Library/DisplayTransition.Designer.cs | 3 ++- PROMS/Volian.Controls.Library/DisplayTransition.cs | 4 ++++ PROMS/Volian.Controls.Library/DisplayTransition.resx | 6 +++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/PROMS/Volian.Controls.Library/DisplayTransition.Designer.cs b/PROMS/Volian.Controls.Library/DisplayTransition.Designer.cs index d878490d..9e23130f 100644 --- a/PROMS/Volian.Controls.Library/DisplayTransition.Designer.cs +++ b/PROMS/Volian.Controls.Library/DisplayTransition.Designer.cs @@ -189,7 +189,8 @@ namespace Volian.Controls.Library this.listBoxTranFmt.Margin = new System.Windows.Forms.Padding(4); this.listBoxTranFmt.Name = "listBoxTranFmt"; this.listBoxTranFmt.Size = new System.Drawing.Size(495, 148); - this.superToolTipDispTran.SetSuperTooltip(this.listBoxTranFmt, new DevComponents.DotNetBar.SuperTooltipInfo("", "", resources.GetString("listBoxTranFmt.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.superToolTipDispTran.SetSuperTooltip(this.listBoxTranFmt, new DevComponents.DotNetBar.SuperTooltipInfo("", "", "This is where transition types are selected. This also defines how the transitio" + + "n will look in the text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.listBoxTranFmt.TabIndex = 13; this.listBoxTranFmt.SelectedIndexChanged += new System.EventHandler(this.listBoxTranFmt_Click); // diff --git a/PROMS/Volian.Controls.Library/DisplayTransition.cs b/PROMS/Volian.Controls.Library/DisplayTransition.cs index ed67a944..831578bc 100644 --- a/PROMS/Volian.Controls.Library/DisplayTransition.cs +++ b/PROMS/Volian.Controls.Library/DisplayTransition.cs @@ -704,6 +704,10 @@ namespace Volian.Controls.Library } } SetControlsEnabling(); + // if doing a 'new' range, no node is selected in tree. Without this, the first node in the + // tree was the selected node which was throwing off the logic for defining the _RangeNode1 + // and _RangeNode2 + if (_DoingRange) tvTran.SelectedNode = null; } //private void btnUp1_Click(object sender, EventArgs e) //{ diff --git a/PROMS/Volian.Controls.Library/DisplayTransition.resx b/PROMS/Volian.Controls.Library/DisplayTransition.resx index 222b4cc6..2bbb0808 100644 --- a/PROMS/Volian.Controls.Library/DisplayTransition.resx +++ b/PROMS/Volian.Controls.Library/DisplayTransition.resx @@ -120,9 +120,9 @@ 17, 17 - - This allows you to select the type of, such as a transition to a step, a transition to a step outside of this procedure, a transition to a range of steps, or a transition to a section. The format also defines how the transition will look in the text. - + + 17, 17 + This allows you to select the the procedure set that the transition points to, if the selected transition format allows for the transition to point to another set. If the format does NOT allow for pointing to another set, a selection will not be available.