Handle tabs defined in format as {LNK Step Num} for deviation documents
If can’t find an edit window, for example from search results that list ‘hidden’ data, give message –not crash
This commit is contained in:
@@ -2484,7 +2484,9 @@ namespace VEPROMS.CSLA.Library
|
||||
tbformat = FormatStepData.TabData.IdentEdit;
|
||||
if (ActiveFormat.Name.ToUpper() == "WCNCKL" && FormatStepData.StepLayoutData.AlignWithParentTab) tbformat = tbformat.TrimStart(" ".ToCharArray());
|
||||
}
|
||||
if ((ActiveFormat.PlantFormat.FormatData.PurchaseOptions.Value & E_PurchaseOptions.EnhancedBackgrounds) == E_PurchaseOptions.EnhancedBackgrounds)
|
||||
if (((ActiveFormat.PlantFormat.FormatData.PurchaseOptions.Value & E_PurchaseOptions.EnhancedBackgrounds) == E_PurchaseOptions.EnhancedBackgrounds) ||
|
||||
((ActiveFormat.PlantFormat.FormatData.PurchaseOptions.Value & E_PurchaseOptions.EnhancedDeviations) == E_PurchaseOptions.EnhancedDeviations))
|
||||
|
||||
{
|
||||
if (tbformat.Contains("{LNK C/N Num}"))
|
||||
{
|
||||
|
Reference in New Issue
Block a user