Extract the Archive

Your first step is to extract the archive. We generally advise people to extract this to a project-specific directory rather than a directory they'll use for all projects, as changes in GraffitiSuite might break things in other projects where you've not actively intended to update to a new version.

Setup the Session

Add a new Public property to your project's Session object:

GraffitiSuiteInstances As Dictionary

Build Steps

This is one of the most important steps to getting GraffitiSuite Web Edition up and running in your project. Without this step your project will not compile while there are GraffitiSuite classes present.

  1. Right-click the empty area of the project navigator and select Build Step > Copy Files
  2. Drag the new Copy Files object to your target platform under Build Settings in the navigator.
  3. Now drag the Copy Files object under “Build” step under the target platform.
  4. Select the Copy Files object, and drag the scripts folder from the download in to the center pane of Xojo.
  5. Repeat for each desired platform – you must have a build step for both debug and target platforms.

Add the Classes

From the Demo Project

If you've opened the demo project, copy the GraffitiSuite folder from the project navigator on the left. In your project, select Edit > Paste from the Menu Bar.

From the File System

Once you have extracted the provided download, open the “gswebedition” directory and drag the “GraffitiSuite” folder in to your project navigator.

Video Walkthrough

Selective Usage

If you don't wish to use all of the GraffitiSuite products in your project, you must first add the GraffitiControlWrapper class to your project followed by those you wish to use. Products are grouped to make this easier. For example, if all you need is GraffitiWebButton then you may add GraffitiControlWrapper and GraffitiWebButton only, while you will need GraffitiControlWrapper and the entire WebContextMenu folder to use GraffitiWebContextMenu in your project.

  • Last modified: 6 months ago
  • by agcyphers