adding close button on ribbon tab
hello dror, - - you can inherit the ribbontab base class and add some custom elements to the children collection, - i have prepared a very small example, it should get you started: - - - using system; -     using system.drawing; -     using system.windows.forms; -     using telerik.wincontrols; -     using telerik.wincontrols.ui; -   -     public partial class radribbonform1 : telerik.wincontrols.ui.radribbonform -     { -         public radribbonform1() -         { -             initializecomponent(); -         } -   -         protected override void onload(eventargs e) -         { -             base.onload(e); -   -             var tabitem1 = new customribbontab(manage); -             var tabitem2 = new customribbontab(remove); -             radribbonbar1.commandtabs.addrange(new customribbontab[] { tabitem1, tabitem2 }); -         } -     } -   -     public class customribbontab : ribbontab -     { -         private radbuttonelement radbuttonelement; -   -         protected override type themeeffectivetype -         { -             get -             { -                 return typeof(tabitem); -             } -         } -   -         private timer focustimer; -   -         public customribbontab() -             : base() -         { -             createtimer(); -         } -   -         public customribbontab(string text) -             : base(text) -         { -             createtimer(); -         } -   -         private void createtimer() -         { -             this.focustimer = new timer { interval = 500 }; -             this.focustimer.tick += delegate -                 { -                     this.radbuttonelement.visibility = elementvisibility.collapsed; -                 }; -         } -   -         protected override void createchildelements() -         { -             base.createchildelements(); -   -             radbuttonelement = new radbuttonelement(x); -             radbuttonelement.size = new size(10, 10); -             radbuttonelement.minsize = new size(10, 10); -             radbuttonelement.maxsize = new size(10, 10); -             radbuttonelement.click += new eventhandler(radbuttonelement\_click); -             radbuttonelement.mouseenter += new eventhandler(radbuttonelement\_mouseenter); -             radbuttonelement.mouseleave += new eventhandler(radbuttonelement\_mouseleave); -             radbuttonelement.borderelement.visibility = elementvisibility.collapsed; -             radbuttonelement.visibility = elementvisibility.collapsed; -             this.children.add(radbuttonelement); -         } -   -         void radbuttonelement\_mouseleave(object sender, eventargs e) -         { -             this.onmouseleave(e); -         } -   -         void radbuttonelement\_mouseenter(object sender, eventargs e) -         { -             this.onmouseenter(e); -         } -   -         void radbuttonelement\_click(object sender, eventargs e) -         { -             ((telerik.wincontrols.ui.radtabstripelement)(this.parenttabstrip)).items.remove(this); -         } -   -         protected override void onmouseenter(eventargs e) -         { -             base.onmouseenter(e); -             focustimer.stop(); -             radbuttonelement.visibility = elementvisibility.visible; -         } -   -         protected override void onmouseleave(eventargs e) -         { -             base.onmouseleave(e); -             focustimer.start(); -         } -   -         protected override sizef arrangeoverride(sizef finalsize) -         { -             finalsize = new sizef(finalsize.width + this.children[3].desiredsize.width, finalsize.height); -             base.arrangeoverride(finalsize); -   -             this.children[3].arrange(new rectanglef( - (int)(finalsize.width - 1.7 * this.children[3].size.width), (finalsize.height / 2) - (this.children[3].desiredsize.height / 2 + 1), finalsize.width, this.children[3].desiredsize.height)); -   -             return finalsize; -         } -   -         protected override void disposemanagedresources() -         { -             radbuttonelement.click -= new eventhandler(radbuttonelement\_click); -             radbuttonelement.mouseenter -= new eventhandler(radbuttonelement\_mouseenter); -             radbuttonelement.mouseleave -= new eventhandler(radbuttonelement\_mouseleave); -   -             base.disposemanagedresources(); -         } -     } - - - please see the attached image if this is what you wanted. - - hope this helps, if you have any other questions or comments, please let me know, - - best regards, - emanuel varga
pretty simple to do, just select the tabs element which currently has no style to it. add a style and click the center align button for typography. easy peezy. sure:

[tessus/joplin-custom-css/blob/master/dark/userchrome.css#l150-l152](https://github.com/tessus/joplin-custom-css/blob/master/dark/userchrome.css#l150-l152)

div.editor-toolbar div button {

display: none !important;

} hi [@interactiverendering](/u/interactiverendering) ,

this is a little more complicated than it appears to be. in order to remove the close button from the form (because it would make revit crash in some cases) i had to remove that logo too. i’ll try and bring it back and let you know :slight\_smile: hi [@nrebhun](/u/nrebhun),

thank you for catching that! to avoid confusion and to add clarity, the provided example should be closes #1. i’ll make sure a push goes up to make the update in the course instructions. Find and push the "reset button" Add friends hello,

this is not possible at this time. you will have to close the topic manually via the admin wrench or set a topic timer for auto close. perhaps you can create a [#feature](/c/feature/2) request for this. no i can’t, but you can look up the solution on the [hints page](http://forum.freecodecamp.org/t/freecodecamp-challenge-guide-profile-lookup/18259) if you’re ready to give up.

all you need to change is the placement of this line:

return "no such contact"

right now it’s inside the for loop (before the closing }), it needs to be outside the for loop (after the closing }) thanks for the tip besides what [@trevorhodges](/u/trevorhodges) said with [codepen.io](http://codepen.io), you can use a about:blank. next inspect, then add your code. my browser is generally chrome, and it works for me.