Spread.Sheets Documentation
selectNextControl Field
Represents the command used to select the next control.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.
Syntax
var value; // Type: selectNextControl
value = GC.Spread.Sheets.Commands.selectNextControl;
var selectNextControl : selectNextControl;
Example
This example maps the selectNextControl action to the Tab key.
spread.commandManager().setShortcutKey('selectNextControl', GC.Spread.Commands.Key.tab, false, false, false, false); // Tab key
spread.commandManager().setShortcutKey('selectPreviousControl', GC.Spread.Commands.Key.tab, false, true, false, false); // Shift key and Tab key
See Also

Reference

Commands type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.