I have the following Statusline and I want to save the icons as well as their order so that I can re-display this layout on other machines. How can I achieve this?
Related
My licenses includes Text feature, I can add text to the image; however, when I tap the text nothing happens, it should show a list of edit text options on the bottom. Please help me with that.
Thanks!
Is it possible to make the browserAction popup persistent so that it's not reloaded every time? Failing that, is it possible to have any viewable extension page that can be hidden instead of closed?
I have a complex layout involving a large number of elements that I'm currently saving and loading as a string or using importNode to work around the issue but neither option is great.
No, you can not cause an actual browserAction or pageAction popup to persist. However, just like any HTML page in your extension, you can open that HTML page in either a tab or window.
As to hiding an extension page: A tab does not need to be currently viewed. A window displaying the HTML page could be hidden by minimizing the window you desire to hide. Alternately, you could placed the window you desire to hide under another window by bringing the other window into focus. A third option would be to move the to-be-hidden window to coordinates that are off the screen. All of these are accomplished with windows.update().
I have a Checkbox in my application, and it is meant to be checked, but also disabled. When disabled, I've noticed that the foreground of the checkbox as well as the content textbox are a darker color than when enabled. I would like to leave the checkbox disabled, but change the foreground of the content textbox to the same color as when the checkbox is disabled. How might I accomplish this?
Methed you have to learn how to edit your existing/default style of your control. I can't give you the exact which will work for your but you can use Blend or Visual Studio to edit a copy of a control's current template by right clicking on the control and then selecting Edit Style, Edit Template or Edit Additional Templates as appropriate. In the submenu, you can select Edit a Copy... which will present a window that allows you to create a copy of the default (or current template/stlye if you have already modified it) and customize it.
Here is a basic tutorial for this http://www.jeff.wilcox.name/2010/08/using-blend-to-find-default-style-xaml/
how can i find the specific button on design mode where i have several buttons ie: hundered of buttons so that they all like spaghetti and one button may be under another button or a groupbox (i might be playing with the visibilities ) and i want to see my button number 83 on the design. how can i see him? where is he hiding? :) i use visual studio as an IDE. thanks.
MessageBox.Show(" where is the specific button? i know that he is somewhere on the form but cant distinguish it on the design since its somewhere under something i cant find it");
Use Document Outline (View - Other Windows - Document Outline)
Just pick the button from the tree and voila.
PS: this works for other types of designers (WPF/Silverlight, ASP.NET)
You can access it via the Properties Window. There is a drop-down that will list all of the items in your form in design mode.
Then use the drop-down. The drop-down will list all of the items on your form so you will scroll through the list to find Button number 83.
Images were pulled from MS Visual Studio: The properties Window which contains an explanation of the window.
Have you tried using the properties window?
I'm trying to add custom Display Items to the Fonts and Colors dialog. I can successfully save and retrieve colors using the IVsFontAndColorStorage service but the items do not appear in the list of Display Items. I have tried following this blog post about adding a custom category. My category appeared but only with the default display items. My real goal is to add my custom colors to the "Text Editor" category. ReSharper does a similar thing.
Have anyone had experience with this? Is there a nice tutorial out there?
I eventually went a different route. This thread has the details on how to accomplish it: http://social.msdn.microsoft.com/Forums/en-US/vseditor/thread/ed463657-6a36-4e33-b313-b2923cc81a74
I'm writing an Editor Extension and wondered the same thing. It as easy as decorating the attributes you want to appear with UserVisible(true). See this thread for more information.
http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/cef23a9e-db87-4683-a4be-d18561e8bded