AdvancedHMI Software

General Category => Feature Request => Topic started by: Morgan on June 20, 2016, 09:36:43 AM

Title: BasicLabel Highlight forecolor
Post by: Morgan on June 20, 2016, 09:36:43 AM
In future releases to would be nice if a Highlight forecolor property were included.  Also, it would be nice if the Highlighting worked for boolean values also.
Title: Re: BasicLabel Highlight forecolor
Post by: Archie on June 20, 2016, 02:02:44 PM
Will post an updated BasicLabel with these features later today.
Title: Re: BasicLabel Highlight forecolor
Post by: Archie on June 20, 2016, 05:04:12 PM
- Download the attached file
- Open your project in Visual Studio
- In Solution Explorer, expand down the AdvancedHMIControls project
- Right click the Controls folder and select Add Existing Item
- Browse to the file you downloaded
- It will ask if you want to replace the existing, select Yes
- Build your solution

You should now have the requested features
Title: Re: BasicLabel Highlight forecolor
Post by: Morgan on June 21, 2016, 11:38:01 AM
Thanks for the quick update. 
Two minor observations:
1. The Prefix/Suffix do not work when "Display as time" is selected.
2. Format(Math.Floor(Minutes), "00")) would have been better as Math.Floor(Minutes).ToString("00").  This eliminates the need for the Microsoft.Visualbasic reference.
Title: Re: BasicLabel Highlight forecolor
Post by: Archie on June 21, 2016, 10:16:17 PM
An updated version. This one is based on seconds instead of hours. The ValueScaleFactor can be used to change that.