2
votes

enter image description here

I have a parent form and some child forms. Each of the child form has an icon at the top and left of the form. I would like to discard those icons but when I click on the icon property, I can only browse another icon and not delete the existing one. For that reason I set the showIcon property in each child form to false and the icons are not visible any more on the forms. So far so good.

My problem is that when a child form is open and maximized, the icon is shown. I want to make it go away and unfortunately I didn't find a way to do this. Any suggestions?

Thanks!

EDIT: I added a screenshot of the form, the unwanted icon is shown above menu strip. I want it to go away. When child form is NOT maximized, the icon disappears.

1
Sorry cant understand the problem. Can you add screenshot of your problem? - Renatas M.
Can you post the code that's not functioning - Sandeep G B
Thank you both for your responce. @Sandeep G B: There is no problematic code, I just want the icon above menu strip to go away. I didn't write any extra code. - alexxx
Well, the title is complete nonsense because you can clearly see that the menu strip is beneath the row with the icon. Delete the menu strip and the icon is still there. Such details matter (to me). - David Heffernan
here is workaround suggested by Hans Passant, it might help. - Renatas M.

1 Answers

0
votes

I guess you need to create a custom form border. Please check http://geekswithblogs.net/kobush/articles/CustomBorderForms3.aspx