An Imagine Logo button can be
placed either directly on a project page, or on a toolbar,
and can contain a behaviour, decided upon by the button
creator.
Simple buttons
Drag a button from the Imagine Logo toolbar
onto your page, right click the button and choose change
b1 from the menu.

The caption field contains
the text displayed on top of the button, and the onPush
field can contain a simple behaviour, which runs whenever
the button is pushed. Almost all uses of buttons involve
using them in conjunction with other objects. For example,
if we wanted to have a button that when pushed would speak
the contents of a text box, we would add the behaviour
Say text1
Where text1 is the name of the textbox
containing the text we want to speak.

Mouse over
Sometimes it is useful to give a button
a behaviour that changes when the mouse pointer moves over
it. There are two ways to do this in Imagine Logo. Firstly,
we can add the behaviour to a simple button by using an
Imagine Logo turtle graphics command, label. We need this
to have three states, which correspond to normal, mouse
over and pushed down states.
Right click the button and choose change
b1 from the menu, then click on the appearance tab.

Click on the drawing list tickbox and
type in the following three section list
[label speak] [setpc red label speak]
[label speaking]
Each section of the list corresponds to
a button state
|
|
|
|
|
normal state
|
mouse over state
|
pushed down state
|
Make sure that the caption
field is empty, otherwise you will find two different labels
on the button.

Animated buttons
We can place an Imagine Logo animation
on top of a button, and if it has three frames, each frame
corresponds to each of the three possible states of the
button, normal, mouseover and pushed down.
Right click your button and choose change
b1 from the menu.

Then click on the appearance tab, click
off the drawing list tickbox and you will see a 'set picture'
button. Click this button to choose an animated button.

I have chosen but3 from the buttons folder.
Using Logomotion, you can easily make
your own buttons. You just need to make sure the button
has three frames, with each one corresponding to each of
the three possible button states, normal, mouseover and
pushed down.
