diff --git a/PROMS/Volian.Controls.Library/StepTabPanel.cs b/PROMS/Volian.Controls.Library/StepTabPanel.cs index afb4627e..9157e8b8 100644 --- a/PROMS/Volian.Controls.Library/StepTabPanel.cs +++ b/PROMS/Volian.Controls.Library/StepTabPanel.cs @@ -79,6 +79,12 @@ namespace Volian.Controls.Library } public void FindSearchString() { + if (SelectedEditItem.MyItemInfo.IsTable) + { + // if not ro table, just make the mysteprtb active. + GridItem grd = SelectedEditItem as GridItem; + grd.SetSearchCell(SearchString); + } // convert the '-' to the unicode non-breaking dash (\u8209? or \u2011 hex) SelectedEditItem.MyStepRTB.Find(SearchString.Replace('-','\u2011')); }