Hooks for Find/Replace function
This commit is contained in:
parent
7a84af43cc
commit
f59fcf22da
@ -46,7 +46,7 @@ namespace VEPROMS
|
||||
_SelectedStepTabPanel = value;
|
||||
if (value == null) // DSO Tab Panel
|
||||
{
|
||||
//dlgFindReplace.Visible = false; // Find/Replace dialog should not be visable for DSO tab panels
|
||||
dlgFindReplace.Visible = false; // Find/Replace dialog should not be visable for DSO tab panels
|
||||
if (tc.SelectedDisplayTabItem != null && tc.SelectedDisplayTabItem.MyItemInfo != null) // 2nd part is for unassociated libdocs
|
||||
SelectedDVI = tc.SelectedDisplayTabItem.MyItemInfo.ActiveParent.ActiveParent as DocVersionInfo;
|
||||
else
|
||||
@ -827,8 +827,9 @@ namespace VEPROMS
|
||||
else if (args.PanelTabName == "FndRpl")
|
||||
{
|
||||
dlgFindReplace.InApproved = (_SelectedDVI != null && _SelectedDVI.VersionType == 127);
|
||||
//dlgFindReplace.Mydocversion = _SelectedDVI;
|
||||
dlgFindReplace.Mydocversion = _SelectedDVI;
|
||||
dlgFindReplace.Visible = true;
|
||||
dlgFindReplace.MyDisplayBookMarks = displayBookMarks;
|
||||
}
|
||||
}
|
||||
private void tc_StepPanelModeChange(object sender, StepRTBModeChangeEventArgs args)
|
||||
|
Loading…
x
Reference in New Issue
Block a user