PlugIns? (#2) - Plugin Wizard: Launching from editor toggle toolbar and changing icon? (#384) - Message List
I'm pretty new to developing in FV. I currently am creating a plugin for FV 22.214.171.1245 using the Plugin Wizard in VS2005 and C#. I've gotten the plugin to launch correctly but not the way I want it to launch.
The wizard adds a button for the plugin in the 'editor toggle toolbar'. Pressing this button then loads another vertical toolbar on the right side of the screen with a few buttons.
I don't want this extra toolbar to show up. When I click the button in the 'editor toggle toolbar' I want it to pop up my plugin and that's all.
Also, the icon that is displayed for my plugin in the 'editor toggle toolbar' is red and yellow with a question mark in it. I want to use my own icon for this but I can't figure out how to change it because I can't figure out where this is set. I can't even find this question mark icon on my system! However, the icon file that I include in my .fvz file is displayed correctly in the extra vertical toolbar and I see where it sets this in the code but again I don't want this extra toolbar.
Thank you, Aaron
I figured out how to launch the plugin from the 'editor toggle toolbar' so I don't need help with that anymore.
However, I still have not figured out how to change the icon for it's button. Any help with this would be greatly appreciated.
Thank you, Aaronammckellar04/20/11 13:42:42 (2 years ago)
I'm not familiar with the plug-in wizard so don't know how it is set in the .fvz file.george.menhorn04/20/11 15:30:34 (2 years ago)
Thank you for your reply.
There is an element defined as: <xs.element name="OverlayType?" maxOccurs="unbounded">
In that element there is an attribute: <xs.attribute name="iconFile" use="required" />
I am not really all that familiar with XML so could you explain what I need to do here?
Also, the icon I am trying to change here is not set in the .fvz file because that icon file is used for the extra toolbar I mentioned earlier that I am no longer using.
Thanksammckellar04/20/11 18:52:53 (2 years ago)
If you are running vista/win7 the configuration file will be in \ProgramData?\PFPS\data\config. For XP it will live in \documents and settings\all users\application data\pfps\data\config.george.menhorn04/21/11 10:23:19 (2 years ago)
Found it. Thank you!ammckellar04/21/11 17:12:49 (2 years ago)