support for StepRTB on property pages
This commit is contained in:
@@ -86,6 +86,12 @@ namespace Volian.Controls.Library
|
||||
// return prams;
|
||||
// }
|
||||
//}
|
||||
private E_FieldToEdit _FieldToEdit = E_FieldToEdit.StepText;
|
||||
public E_FieldToEdit FieldToEdit
|
||||
{
|
||||
get { return _FieldToEdit; }
|
||||
set { _FieldToEdit = value; }
|
||||
}
|
||||
private string _RtfPrefix; // contains Font table and styles (bold/underline/italics) for rtb from step style
|
||||
public string RtfPrefix
|
||||
{
|
||||
@@ -152,7 +158,7 @@ namespace Volian.Controls.Library
|
||||
_InitializingRTB = true;
|
||||
_SelectedRtfSB.Remove(0, _SelectedRtfSB.Length);
|
||||
|
||||
DisplayText vlntxt = new DisplayText(_MyItemInfo, EpMode, VwMode, !edit);
|
||||
DisplayText vlntxt = new DisplayText(_MyItemInfo, EpMode, VwMode, !edit, FieldToEdit);
|
||||
_origDisplayText = vlntxt;
|
||||
#if(DEBUG)
|
||||
// Use Times New Roman for Debugging
|
||||
|
Reference in New Issue
Block a user