[CLOSED] Can't change ForeColor of Upload control

Closed
0
0

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");
...
  • You must to post comments
0
0

Thanks, Tiago.

I have logged WJ-7293 for this issue.

Best regards
Frank

  • You must to post comments
Showing 1 result