JavaScript

A5.ViewBoxnavigate Method

Syntax

A5.ViewBox.navigate(direction[,executeSelect])

Arguments

directionstring

The direction to navigate. The value can be "first", "prev", "next" or "last".

executeSelectboolean

Whether or not to execute the select events. The change event will always be executed when the value changes.

Description

Navigate the view boxes selected value relative to the current active selection (see selectionInfo in A5.ViewBox).

Example

// To get a pointer to the A5.ViewBox class see {dialog.object}.getControl
// assume vbObj is a pointer to an instance of the A5.ViewBox class
vbObj.navigate('last'); // navigate to the last selectable item in the view box