PlugIns? (#2) - Plugin Wizard: Launching from editor toggle toolbar and changing icon? (#384) - Message List

Plugin Wizard: Launching from editor toggle toolbar and changing icon?

Hello,

I'm pretty new to developing in FV. I currently am creating a plugin for FV 4.2.1.1005 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

Tree View Flat View (newer first) Flat View (older first)
  • Message #805

    Found it. Thank you!

  • Message #804

    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.

  • Message #803

    Thank you for your reply.

    There is no FvOverlayTypes?.xml file on my machine. I do have a FvOverlayTypes?.xsd file though which I understand is an XML schema.

    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.

    Thanks

  • Message #802

    The icon is specified in the configuration file FvOverlayTypes?.xml. It is the iconFile attribute of the OverlayType? tag.

    I'm not familiar with the plug-in wizard so don't know how it is set in the .fvz file.

  • Message #800

    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, Aaron

Tree View Flat View (newer first) Flat View (older first)

Subscriptions