I am using the Marquee in the UltraStatusBar and the text is just sitting there. (Not Scrolling)
The code I am using is verbatim from the sample code with the exception of the actual text and the width:
this.ultraStatusBar1.Panels.Add("Marquee", PanelStyle.Marquee);
this.ultraStatusBar1.Panels["Marquee"].Width = 902;
this.ultraStatusBar1.Panels["Marquee"].Text = "To view the User's Manual, select 'Help' on the Main Menu";
this.ultraStatusBar1.Panels["Marquee"].MarqueeInfo.MarqueeStyle = MarqueeStyle.Scrolling;
this.ultraStatusBar1.Panels["Marquee"].MarqueeInfo.IsActive = true;
this.ultraStatusBar1.Panels["Marquee"].MarqueeInfo.Start();
Please Advise. Thanks
Hello Adam,
I followed the steps you suggested and was unable to reproduce the behavior you are describing. In the form_load event handler I used exactly the same code you provided and when I run the application, the text in the panel starts scrolling.
I have attached the sample project I used to test this. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.
If the project does not work correctly, this indicates either a problem possibly specific to your environment, or a difference in the DLL versions we are using. My test was performed using version 2016.2.20162.2040 in NetAdvantage for Windows Forms 2016 Volume 2.
If the project does show the product feature working correctly, this indicates a possible problem in the code of your application. It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing.
Or, if this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.
Please let me know if I can provide any further assistance.
It worked on a stand alone project (form). I am using version 16.1.20161.1000. I am trying to use it on a splash form. Below is the complete code (minus the designer code) for the form:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Deployment;
using System.Timers;
using Infragistics.Win.UltraWinStatusBar;
namespace CommonScheduleTool
{
public partial class SplashForm : Form
System.Timers.Timer closeTimer;
public SplashForm()
try
InitializeComponent();
ShowMarqueeText();
closeTimer = new System.Timers.Timer(10000);
closeTimer.Elapsed += CloseTimer_Tick;
lblVersion.Parent = pictureBox1;
lblVersion.Text = System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed ?
string.Format("Version: {0}", System.Deployment.Application.ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString()) :
string.Format("Version: {0}", Application.ProductVersion.ToString());
ultraProgressBar1.UseOsThemes = Infragistics.Win.DefaultableBoolean.False;
}
catch (System.Exception ex)
MessageBox.Show(string.Format("Error. Please contact the Helpdesk if this continues. \n{0}", ex.ToString()),
"ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error);
private void ShowMarqueeText()
private void CloseTimer_Tick(object sender, ElapsedEventArgs e)
closeTimer.Stop();
this.Close();
public void UpdateProgressBar(int value)
ultraProgressBar1.IncrementValue(value);
I don't see an attachment