From J Wiki
Jump to navigation Jump to search


Splitter Events

Events for the splitter isigraph control are passed to the splitter object, and so are not handled by the parent form.

The splitter object can pass events back to the parent form. To enable this, define an event handler with a name based on the isigraph control id, followed by _splithandler . For example if the control id is splitv, then define verb splitv_splithandler.

The events signalled are:

move after any splitter move
moved after splitter move is completed, i.e. mouse up

The handler is called with an argument of the event name.

For example:

splitv_splithandler=: 3 : 0
select. y
case. 'move' do.
  smoutput 'splitv move'