Adding a fuction to an action button

Hi

When we do an inquiry on stock by site, we need to be able to use the Action button on the line to access e.g. Stock movement. In V6 I had done this(right click) but it was so long ago that I forgot. Could anybody refresh my memory on how I can do this.

Regards

Ferdi