This commit is contained in:
parent
8480abfdc3
commit
202b08e8ef
@ -737,7 +737,7 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
private void SetupStepItem(ItemInfo itemInfo, StepPanel myStepPanel, StepItem myParentStepItem, ChildRelation myChildRelation, bool expand, StepItem nextStepItem)
|
private void SetupStepItem(ItemInfo itemInfo, StepPanel myStepPanel, StepItem myParentStepItem, ChildRelation myChildRelation, bool expand, StepItem nextStepItem)
|
||||||
{
|
{
|
||||||
if (itemInfo.ItemID == 225) _MyStepRTB.Resize += new EventHandler(_MyStepRTB_Resize);
|
//if (itemInfo.ItemID == 225) _MyStepRTB.Resize += new EventHandler(_MyStepRTB_Resize);
|
||||||
_MyStepRTB.MyStepItem = this;
|
_MyStepRTB.MyStepItem = this;
|
||||||
//// TIMING: DisplayItem.TimeIt("CSLARTB InitComp");
|
//// TIMING: DisplayItem.TimeIt("CSLARTB InitComp");
|
||||||
BackColor = myStepPanel.PanelColor;
|
BackColor = myStepPanel.PanelColor;
|
||||||
|
@ -337,13 +337,18 @@ namespace Volian.Controls.Library
|
|||||||
if(value != null)
|
if(value != null)
|
||||||
value.BackColor = ActiveColor; // Set the active color
|
value.BackColor = ActiveColor; // Set the active color
|
||||||
if (_SelectedStepRTB == value) return; // Same - No Change
|
if (_SelectedStepRTB == value) return; // Same - No Change
|
||||||
|
//RHM ToDo: Why doesn't it have focus for copy Step/Paste
|
||||||
|
if (value != null) value.Focus();
|
||||||
if (_SelectedStepRTB != null && _SelectedStepRTB.BeingDisposed == false)
|
if (_SelectedStepRTB != null && _SelectedStepRTB.BeingDisposed == false)
|
||||||
{
|
{
|
||||||
//_SelectedStepRTB.BackColor = InactiveColor;
|
//_SelectedStepRTB.BackColor = InactiveColor;
|
||||||
_SelectedStepRTB.SetBackColor();
|
_SelectedStepRTB.SetBackColor();
|
||||||
_SelectedStepRTB.SaveText(); // Save any changes to the text
|
_SelectedStepRTB.SaveText(); // Save any changes to the text
|
||||||
_SelectedStepRTB.SaveConfig(); // This may be redundant
|
_SelectedStepRTB.SaveConfig(); // This may be redundant
|
||||||
|
//int selst = _SelectedStepRTB.SelectionStart;
|
||||||
_SelectedStepRTB.RTBFillIn(false);
|
_SelectedStepRTB.RTBFillIn(false);
|
||||||
|
//_SelectedStepRTB.SetSelection(selst, 0);
|
||||||
|
//_SelectedStepRTB.SelectionStart=selst;
|
||||||
_SelectedStepRTB.ViewRTB = true;
|
_SelectedStepRTB.ViewRTB = true;
|
||||||
}
|
}
|
||||||
_SelectedStepRTB = value;
|
_SelectedStepRTB = value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user