Hi!
I've gone back to the manual and checked for on_click
On_click is an event as was said by Cowabanga
The manual says
The on_click function is executed when clicking left with the mouse pointer somewhere
within a VIEW, without hitting any object or panel.
and when clicking in a view an event is activated.
This situation can also be used in panels, which is what your trying to do but there is a difference
This function is triggered by left clicking with the mouse pointer anywhere
within the panel bitmap, as long as no panel element (like a button) is hit.
Look up in the index ---
event (panel) for the Light-C correct syntax.
On_click in an event but in panel you use the word event.
Hope this is helpfull
Ottawa
