Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
325
Overriding UltraLabel Font at runtime
posted

We are using AppStylist in our application. At runtime, creating controls dynamically, I am trying to change the font for the UltraLabel like this.

this.Font = new System.Drawing.Font("Ariel", 8.5F, FontStyle.Regular);

This works as expected on Windows XP. It doesn't work on Windows Vista. It works for Bold, Underline and Italics but it does not change the Font on the Vista Machine. The fonts used are installed on both machines.