netrix icon indicating copy to clipboard operation
netrix copied to clipboard

Visibility problem

Open obartelt opened this issue 7 years ago • 0 comments

When the control is placed on a form and is initially set to Visible=false, setting Visible=true does not entirely do the trick, because of this line in HtmlEditor.Visible (HtmlEditor.Properties.cs):

panelEditContainer.Visible = base.Visible;

Due to the way .NET/WinForms works, this returns false, even after setting it to true the line above, because the real visibility state has not been changed yet. Changing the line to the following does the trick:

panelEditContainer.Visible = value;

obartelt avatar Mar 01 '18 10:03 obartelt