Adding an About Box

DropTools gives you a couple of ways to provide information about your DropTool. You can create a separate substack of your DropTool stack called "About <dropToolType>", or you can use the
RunRev Interoperability Project
stack properties (uRIP) to specify "about" information.

Using a Substack

If you have a substack called "About <dropToolType>", then this stack is opened whenever the user chooses to see your "about" information. You can use this substack to display online help, documentation, technical notes, or anything you like. This is an example from the stsImageWell About Box; it's based on the
About DropTool Template
substack of the DropTool Template stack:
stsimagewell_about

Using the Answer Dialog (a "Simple" About Box)

If you don't have a substack with that name, then you can set some custom properties which will automatically be displayed in LiveCode's "answer" dialog.
Here's how it works: a check is made to see if the
uRIP["creator"]
property of your DropTool stack has a non-empty value. If so, information will be gathered from the following properties, and assembled in this order:
    -
uRIP["name"]
(if not found, it will substitute in "<dropToolType>")
    -
uRIP["version"]

    -
uRIP["creator"]

    -
uRIP["copyright"]

    -
uRIP["description"]

    -
uRIP["homeurl"]
All of the properties other than
uRIP["creator"]
are optional, and if not provided will be skipped during assembly. Once assembled, a standard "answer" dialog box is displayed. If the
uRIP["homeurl"]
is empty, then the dialog box looks something like this:
If the
uRIP["homeurl"]
has a url in it, the dialog box looks like this:

Clicking on
Go to Website
will take the user to the referenced site.
 
© 2015 Sons of Thunder Software, Inc.