Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter EighteenDataView Integration (continued)

DataViewGetSelectMode Function

Overview

The DataViewGetSelectMode function retrieves the select mode.

Syntax/Parameters

Syntax

dword = DataViewGetSelectMode ( handle object );

Parameters

object

A handle either to a Data View Object or to a window that employs Data View.

Return Value

Returns a dword containing the select mode or -1 on failure. Use the GetLastError function to retrieve error information. The following return values are possible:

  Code Value   Comment
  Modes      
 DCC_SELECT_MODE_ROW   0x00000000   Select Row (default)
 DCC_SELECT_MODE_COLUMN   0x00000001   Select Column
 DCC_SELECT_MODE_CELL   0x00000002   Select Cell
 DCC_SELECT_MODE_NONE   0x00000003   Select None (Cells Implied)
 DCC_SELECT_MODE_MASK   0x0000000F   Select Type Mask
  Flags      
 DCC_SELECT_MODE_MULTIPLE   0x00001000   Allow Multiple Selections
 DCC_NO_AUTO_SELECT   0x00002000   Requires Shift or Control Select

 

Remarks

The Data View/Data Control select mode is generally static and dictates how the sheet behaves during the select processing. For many functions, no select is an implied single cell selection.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL