This commit is contained in:
Kathy Ruffing 2013-04-15 12:59:30 +00:00
parent f9d3af6941
commit bc923f77a0
2 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,7 @@ namespace VEPROMS
if (fld.type.ToLower() == "text")
{
StepRTB tb = new StepRTB();
tb.Font = new Font("Arial", tb.Font.Size);
tb.Font = tb.FormatFont = new Font("Arial", 8);
string mystr = tb.FontTable;
_DicStepRtb.Add(fld.name, tb);
tb.MyItemInfo = pi as ItemInfo;

View File

@ -41,10 +41,12 @@ namespace VEPROMS
//this.Text = string.Format("{0} {1} Properties", procedureConfig.Number, procedureConfig.Title);
ItemInfo itmInfo = ItemInfo.Get(_ProcedureConfig.MyProcedure.ItemID);
this.Text = string.Format("{0} {1} Properties", itmInfo.DisplayNumber, itmInfo.DisplayText);
ppProcTitleStpRTB.Font = ppProcTitleStpRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 10F);
ppProcTitleStpRTB.FieldToEdit = E_FieldToEdit.Text;
ppProcTitleStpRTB.BorderStyle = BorderStyle.Fixed3D;
ppProcTitleStpRTB.MyItemInfo = itmInfo;
ppProcTitleStpRTB.RefreshDisplay(true);
ppProcNumStpRTB.Font = ppProcNumStpRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 10F);
ppProcNumStpRTB.FieldToEdit = E_FieldToEdit.Number;
ppProcNumStpRTB.BorderStyle = BorderStyle.Fixed3D;
ppProcNumStpRTB.MyItemInfo = itmInfo;