C2021-043: Set (folder) Information (SI) support for super/sub script of characters
This commit is contained in:
@@ -66,10 +66,11 @@ namespace VEPROMS
|
||||
string mystr = tb.FontTable;
|
||||
_DicStepRtb.Add(fld.name, tb);
|
||||
tb.MyItemInfo = null; // pi as ItemInfo;
|
||||
tb.FieldToEdit = E_FieldToEdit.Text;//E_FieldToEdit.PSI;
|
||||
// C2021-043: have Proms specific context menu, i.e. with Hard space, styles and symbols rather than Windows clipboard
|
||||
// (Removed the frmSI specific contextmenustrip1)
|
||||
tb.FieldToEdit = E_FieldToEdit.PSI;
|
||||
tb.BorderStyle = BorderStyle.FixedSingle;
|
||||
tb.Enter += new System.EventHandler(this.FieldStepRTB_Enter);
|
||||
tb.ContextMenuStrip = contextMenuStrip1; // B2017-024 clipboard context menu
|
||||
// see if config has data for this field, i.e. search for the 'name'
|
||||
// B2019-133 continuation of B2018-057 Replace non-breaking hyphen with hyphen.
|
||||
string val = (DoFolder ? folderConfig.GetValue("SI", fld.name) : dvConfig.GetValue("SI", fld.name)).Replace("\\u8209?", "-");
|
||||
@@ -125,7 +126,8 @@ namespace VEPROMS
|
||||
}
|
||||
private void FieldStepRTB_Enter(object sender, EventArgs e)
|
||||
{
|
||||
// _MyStepTabRibbon.MyStepRTB = (StepRTB)sender;
|
||||
// C2021-043: have Proms specific context menu, when entering the field, need to set the MyStepRTB so that context menus is available
|
||||
_MyStepTabRibbon.MyStepRTB = (StepRTB)sender;
|
||||
}
|
||||
private void btnOk_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user