Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter NineDialog Functions (continued)

PageControlSetOptions Function

Overview

The PageControlSetOptions function sets or resets one for more display or operational parameters.

Syntax/Parameters

Syntax

int = PageControlSetOptions ( int id, string parameters );

Parameters

id

An int containing the control ID of the page control.

parameters

A string in the form of “property: value;” pairs. The property names allow multiple items to be set or reset. see Remarks below.

Return Value

Returns an int as ERROR_NONE 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

Display options are controlled by two properties: EnableDisplayOption and DisableDisplayOption. The property value can be one or more of the following, separated by spaces:

  Value   Description  
  hruler   Horizontal Rule Window  
  vruler   Vertical Rule Window  
  uncoded   Uncoded Areas  
  anchors   Anchors  
  blocks   Codes (breaks)  
  spaces   Codes (spaces)  
  elements   HTML Elements  
  pages   Page Guides  
  tables   Table Grid  
  fields   Field Highlighting  
  revisions   Revisions  
  bnw   Everything Black and White  
  divisions   Divisions  
  lists   Lists  
  spelling   Spelling  

 

Related Functions

Platform Support

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

Legato IDE, Legato Basic