This commit is contained in:
parent
03a7198e62
commit
c1112468d2
@ -163,10 +163,7 @@ namespace Volian.Controls.Library
|
|||||||
{
|
{
|
||||||
ItemInfo next = (cbxReverse.Checked) ? MyEditItem.MyItemInfo.SearchPrev : MyEditItem.MyItemInfo.SearchNext;
|
ItemInfo next = (cbxReverse.Checked) ? MyEditItem.MyItemInfo.SearchPrev : MyEditItem.MyItemInfo.SearchNext;
|
||||||
|
|
||||||
// TODO: Searchable text for grids/tables will be in MyContent.Text - but is not there now.
|
while (!next.IsSection && !next.MyContent.Text.ToUpper().Contains(cmboFindText.Text.ToUpper()))
|
||||||
// uncomment next line and remove following line (and it's associated method code) when it is available.
|
|
||||||
//while (!next.IsSection && !next.MyContent.Text.ToUpper().Contains(cmboFindText.Text.ToUpper()))
|
|
||||||
while (!next.IsSection && !FindNextText(next))
|
|
||||||
next = (cbxReverse.Checked) ? next.SearchPrev : next.SearchNext;
|
next = (cbxReverse.Checked) ? next.SearchPrev : next.SearchNext;
|
||||||
if (next.IsSection)
|
if (next.IsSection)
|
||||||
{
|
{
|
||||||
@ -179,9 +176,11 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
MyEditItem.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.OpenItem(next);
|
|
||||||
if (cbxReverse.Checked)
|
MyEditItem.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.OpenItem(next);
|
||||||
MyEditItem.PositionToEnd();
|
if (cbxReverse.Checked)
|
||||||
|
MyEditItem.PositionToEnd();
|
||||||
|
if (next.IsTable && !cbxReverse.Checked) MyEditItem.PositionToStart();
|
||||||
}
|
}
|
||||||
if (MyEditItem.MyStepRTB != null && !MyEditItem.MyStepRTB.Visible)
|
if (MyEditItem.MyStepRTB != null && !MyEditItem.MyStepRTB.Visible)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user