UPDATE (06 Oct 2010): v0.2
* The “Cancel Generation” button will now be disabled until generation is actually in progress!
* The imports used by this addin are no longer relative to its location so you can put the addin file where ever you want (in the appropriate addin locations of course!)

This is a quick little Addin for the Clarion7 IDE which will put some cancel buttons on the output pad. I couldn’t seem to get the hide/unhide conditions to work properly so the buttons are always visible and enabled even when there is not build or generate in progress. Maybe one day when I have more time I will have another go at it!

To install just download the file below and place it in  “\Clarion7\accessory\addins\” (restart the IDE if it was already open). If that directory doesn’t exist yet just make a new one.

image

-brahn

Download: download CancelBuildButtons.addin
Version: 0.3
Updated: October 17, 2010
Size: 1.37 KB
Downloads: 797

A quick follow up to my previous article on creating a Clarion7 addin this is an example of how to provide translations of your own addins (based on the example provided I think by Lee and Charles on the newsgroups, thanks!).

The magic line to add to your addin file is this:

Then for each language you intend to support you create a new resource file with the correct name e.g. StringResources.nl.resources for dutch.

translations

In the download you will find the C# project files as well as the addin itself. Also included is a BitmapResources.resources file containing all the Silk icons from famfamfam which I thought were pretty neat to use as menu icons 🙂

Download: download AccessoryMenu.sdaddin
Version: 0.1
Updated: June 3, 2011
Size: 618.58 KB
Downloads: 1,031
Download: download AccessoryMenu.zip
Version: 0.1
Updated: June 2, 2009
Size: 1.82 MB
Downloads: 639

This is the addin file in case you want a quick look:

This is a very simple example of using the new Clarion7 IDE addin system to put a new item into the help menu.

  1. Download the addin file – Clarion3rdParty.sdaddin
  2. Start the Clarion 7 IDE:
    Start IDE
  3. Go to the Tools menu and select the Addin Manager:
    addinmanager
  4. Click the Install Addin button:
    installaddin
  5. Find the Addin file you downloaded in Step 1
    findaddinfile
  6. You should now see the new addin listed in the Addin Manager, restart the IDE to see what it does!
    restartide
  7. And there you have it, a new menu item under Help–>Web !
    success

Simply adding a menu item is very easy with the new Clarion 7 IDE. I suppose the hardest part is finding the correct names for everything and getting them in the right place. The Clarion3rdParty.sdaddin file you downloaded at the beginning is just a zip file containing one XML formatted “addin” file. This XML simply tells the IDE what you want to do and where to do it.

This is the XML used in the Clarion3rdParty addin:

And the download again in case you missed it:

Download: download Clarion3rdParty.sdaddin
Version: 0.1
Updated: June 3, 2011
Size: 471 bytes
Downloads: 973