Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter NineDialog Functions (continued)

PageControlGetSelectClue Function

Overview

The PageControlGetSelectClue function returns the select clue for the current state of the control.

Syntax/Parameters

Syntax

int = PageControlGetSelectClue ( int id );

Parameters

id

An int containing the control ID of the page control.

Return Value

An int as a select clue for the selected item or a formatted error code on failure. Common errors include: ERROR_RANGE if id is an invalid control ID for the open dialog or ERROR_INVALID_HANDLE if no dialog is open.

Remarks

The select clue expands on the select mode. For example, selected cells can make up a column or a region. The values are as follows:

  Code Value   Comment  
  EDO_SELECT_NO_CLUE   0   Undetermined  
  EDO_SELECT_ALL   1   Entire document  
  EDO_SELECT_BLOCK   2   Block (whole boundaries)  
  EDO_SELECT_CELL   3   Table cell  
  EDO_SELECT_COLUMN   4   Table column  
  EDO_SELECT_ROW   5   Table row  
  EDO_SELECT_REGION   6   Table square region of cells  
  EDO_SELECT_TABLE   7   Table  
  EDO_SELECT_IMAGE   8   Image/picture object  
  EDO_SELECT_PAGE   9   Page  
  EDO_SELECT_PAGE_FIELD   10   Page field  
  EDO_SELECT_CONTROL   11   Format control object  
  EDO_SELECT_FRAME   12   Frame object  
  EDO_SELECT_OBJECT   13   General object  

 

Use the PageControlGetSelectMode function to determine the mode of the selection.

Related Functions

Platform Support

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

Legato IDE, Legato Basic