diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs index 59628177..ca2e8c7f 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs @@ -68,6 +68,7 @@ namespace VEPROMS this.cbScrunch = new System.Windows.Forms.CheckBox(); this.btnNext = new System.Windows.Forms.Button(); this.cmbFont = new System.Windows.Forms.ComboBox(); + this.lblDummy = new System.Windows.Forms.Label(); this.labelItem10 = new DevComponents.DotNetBar.LabelItem(); this.bottomProgBar = new DevComponents.DotNetBar.ProgressBarItem(); this.labelItem9 = new DevComponents.DotNetBar.LabelItem(); @@ -514,6 +515,7 @@ namespace VEPROMS this.bottomBar.Controls.Add(this.cbScrunch); this.bottomBar.Controls.Add(this.btnNext); this.bottomBar.Controls.Add(this.cmbFont); + this.bottomBar.Controls.Add(this.lblDummy); this.bottomBar.Dock = System.Windows.Forms.DockStyle.Bottom; this.bottomBar.Font = new System.Drawing.Font("Segoe UI", 9F); this.bottomBar.IsMaximized = false; @@ -601,6 +603,15 @@ namespace VEPROMS this.cmbFont.TabIndex = 0; this.cmbFont.SelectedIndexChanged += new System.EventHandler(this.cmbFont_SelectedIndexChanged); // + // lblDummy + // + this.lblDummy.Dock = System.Windows.Forms.DockStyle.Right; + this.lblDummy.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F); + this.lblDummy.Location = new System.Drawing.Point(1013, 0); + this.lblDummy.Name = "lblDummy"; + this.lblDummy.Size = new System.Drawing.Size(10, 25); + this.lblDummy.Visible = false; + // // labelItem10 // this.labelItem10.BorderSide = DevComponents.DotNetBar.eBorderSide.Left; @@ -1732,6 +1743,7 @@ namespace VEPROMS private DevComponents.DotNetBar.ButtonItem btnShortCuts; private DevComponents.DotNetBar.LabelItem lblItemID; private System.Windows.Forms.ComboBox cmbFont; + private System.Windows.Forms.Label lblDummy; private DevComponents.DotNetBar.LabelItem lblResolution; private DevComponents.DotNetBar.LabelItem lblUser; private DevComponents.DotNetBar.LabelItem lblLastChange; diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index bc046ef3..a7778118 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -3202,6 +3202,14 @@ namespace VEPROMS txtSearch.Visible = false; lblLastChange.Visible = false; btnStepRTF.Visible = false; + lblDummy.Visible = false; + } + else + { + // C2024-007: On Proms main form, allow for control of whether the FontMenu + // combo box is displayed. Only done when running in debugmode + cmbFont.Visible = Volian.Base.Library.VlnSettings.GetCommandFlag("FontMenu"); + lblDummy.Visible = !Volian.Base.Library.VlnSettings.GetCommandFlag("FontMenu"); } }