This is a migrated thread and some comments may be shown as answers.

Cannot change Taskbar Icon on RadForm

1 Answer 143 Views
Form
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 29 Jan 2018, 09:56 PM

I tried searching for this but apparently I'm the only one with this issue right now.

So here's the very basics:  My app has a radform with a button.  You click this button and it creates another RadForm, but this one is a FormBorderStyle FixedToolWindow. When I hit Alt-Tab and see it, it's not the icon I assigned to the Form. (via the Designer with the Form Icon property)  It's the default app Icon.

Attaching what it looks like.  (it's the selected one)  This icon is the same in the Taskbar as well. The Application Icon shows up just fine though (That's the AC one in the attached pic) 

How do I change the form Icon? 

 

 

VS 2015

Windows 8.1 64bit

Telerik 17.1.221.0

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 30 Jan 2018, 09:25 AM
Hello Daniel,

I was able to reproduce that and it is considered an issue. I have logged this issue on our Feedback Portal. You can track its progress, subscribe to status changes and add your comment to it here. I have also updated your Telerik Points.

As a workaround, you can set the ShowIcon property to true and then hide the title bar icon:
public RadForm2()
{
    InitializeComponent();
    this.ShowIcon = true;
   
}
protected override void OnShown(EventArgs e)
{
    base.OnShown(e);
    this.FormElement.TitleBar.IconPrimitive.Visibility = ElementVisibility.Collapsed;
}
 
Should you have any other questions do not hesitate to ask.

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Form
Asked by
Daniel
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or