Let's begin by creating a custom button as follows:
Open or create a project in General Interface Builder. See the General Interface Developer Guide.
Choose File > New > GUI Component to create a new component.
Open the System > Form Elements folder in the Component Libraries palette.
Drag and drop a Button component from the Component Libraries palette to the work area.
Open the Events Editor palette and delete the alert value for the Execute event. Typically, you won't want to assign an event until you use it in your application.
Open the Properties Editor palette and enter the following property values to give the button a custom look-and-feel:
FontWeight: Bold
Color: blue
BG Color: #ccffcc
You can use the Color Picker to choose color values. Choose Tools > Color Picker You can also click in the Value field in the Properties Editor palette and click the Color Picker button to open the Color Picker.
Click the Component Profile button at the bottom right of the work area.
Type Blue Button in the Name field. This is the name that displays in the Component Hierarchy palette.
Enter a description. This information displays in a tooltip when you hover over the component name in the Component Libraries palette.
Type the URL for an optional custom image in the Icon URL field. The URL is relative to the launch page that launches the application.
For example, if you're launching the application with GI_Builder.html (GI_HOME/GI_Builder.html) and the image is located in workspace/images, the URL would be ../workspace/images/icon.gif.
If you're using images across your applications, you might create an images folder for all your images in your workspace directory.