Krypton-NET-5.470 icon indicating copy to clipboard operation
Krypton-NET-5.470 copied to clipboard

A proper "Status strip rendered ProgressBar" please ?

Open Smurf-IV opened this issue 5 years ago • 10 comments

here is a starting point: https://stackoverflow.com/questions/20584132/change-the-color-of-a-toolstripprogressbar-without-disabling-the-xp-visual-style

Smurf-IV avatar Jul 03 '19 13:07 Smurf-IV

Using the above, I have got a "Reasonable colour background" with the following event added to the status strip:

    private void StatusStrip_RendererChanged(object sender, EventArgs e)
    {
        if ( ToolStripManager.Renderer is KryptonProfessionalRenderer kpr )
            progressBar.BackColor= kpr.KCT.StatusStripGradientEnd;
    }

Smurf-IV avatar Jul 03 '19 13:07 Smurf-IV

I'll look into it

PWagner1 avatar Jul 04 '19 15:07 PWagner1

I wonder if this would help https://docs.microsoft.com/en-us/dotnet/framework/winforms/controls/walkthrough-creating-a-professionally-styled-toolstrip-control

PWagner1 avatar Jul 18 '19 06:07 PWagner1

Yep, the renderer thing would need to be in the Components dll, so this issue will need to be transferred

Smurf-IV avatar Jul 18 '19 06:07 Smurf-IV

Transferred

PWagner1 avatar Jul 18 '19 17:07 PWagner1

That sort of thing would be better in the extended kit, What this request is for, is the standard progress bar, but with the proper krypton rendering applied.

Smurf-IV avatar Sep 18 '19 06:09 Smurf-IV

Upon looking into it, yes this request should belong to the standard toolkit. Moving previous link to extended toolkit.

PWagner1 avatar Sep 19 '19 06:09 PWagner1

Hi @Smurf-IV

See https://github.com/Krypton-Suite/Standard-Toolkit dev branch.

PWagner1 avatar Apr 01 '20 18:04 PWagner1

Didn't see it mentioned, Whilst on the new site, you will need to explain the differences between the "Normal" and "lite" versions...

Smurf-IV avatar Apr 02 '20 06:04 Smurf-IV

Will do... I don't know how to change the forecolor though, or even if there is a property in KCT to do this.

PWagner1 avatar Apr 02 '20 07:04 PWagner1