This commit is contained in:
parent
96659a8c44
commit
2fdb19be8e
@ -112,13 +112,13 @@ namespace Volian.Controls.Library
|
|||||||
/// E_FieldToEdit fieldToEdit - identifies the field to edit (number or text)
|
/// E_FieldToEdit fieldToEdit - identifies the field to edit (number or text)
|
||||||
/// bool colorLinks - whether to add color to links
|
/// bool colorLinks - whether to add color to links
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public DisplayText(ItemInfo itemInfo, E_EditPrintMode epMode, E_ViewMode vwMode, bool noEdit,E_FieldToEdit fieldToEdit, bool colorLinks)
|
public DisplayText(ItemInfo itemInfo, E_EditPrintMode epMode, E_ViewMode vwMode, bool noEdit,E_FieldToEdit fieldToEdit, bool colorLinks, string prefix, string suffix)
|
||||||
{
|
{
|
||||||
_FieldToEdit = fieldToEdit;
|
_FieldToEdit = fieldToEdit;
|
||||||
_MyItemInfo = itemInfo;
|
_MyItemInfo = itemInfo;
|
||||||
OriginalText = InfoText;
|
OriginalText = InfoText;
|
||||||
TextFont = itemInfo.GetItemFont();//GetItemFont();
|
TextFont = itemInfo.GetItemFont();//GetItemFont();
|
||||||
string text = InfoText;
|
string text = prefix + InfoText + suffix;
|
||||||
_MyFormat = itemInfo.ActiveFormat;
|
_MyFormat = itemInfo.ActiveFormat;
|
||||||
|
|
||||||
bool tableShouldBeOutlined = (epMode == E_EditPrintMode.Print || vwMode == E_ViewMode.View || noEdit) &&
|
bool tableShouldBeOutlined = (epMode == E_EditPrintMode.Print || vwMode == E_ViewMode.View || noEdit) &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user