Skip to content

Can't change ForeColor of Upload control #67

Closed

Description

@itg-assistant

Tiago Freitas Leal asked 2016-05-26 16:14:18 UTC

I changed the same set of properties for Button and for Upload, but Upload refuses to change the ForeColor. I manage to change the BackColor, the Font and even the FontStyle. But the ForeColor that is shown is always the same. The properties were set as below.  I attach the corresponding screen shot.

//
// button2
//
this.button2.BackColor = System.Drawing.Color.FromName("@focusFrame");
this.button2.Font = new System.Drawing.Font("@defaultBold", 13F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Pixel);
this.button2.ForeColor = System.Drawing.Color.FromName("@desktop");
....
// 
// upload1
// 
this.upload1.BackColor = System.Drawing.Color.FromName("@focusFrame");
this.upload1.Font = new System.Drawing.Font("@defaultBold", 13F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Pixel);
this.upload1.ForeColor = System.Drawing.Color.FromName("@desktop");
...

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2016-05-26 18:12:53 UTC

    Thanks, Tiago.

    I have logged WJ-7293 for this issue.

    Best regards
    Frank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions