INFORMIX
Visionary User's Guide
Appendix E: Viewer Control Interface
Home Contents Index Master Index New Book

Methods

SetParameter Method

Sets the value of a global parameter. The return value is TRUE if successful, FALSE if not.

Visual Basic Syntax
C++ Syntax
Arguments
Argument Description

paramName

Name of the global parameter to be set

value

New value for the global parameter

GetParameter Method

Retrieves the value of a global parameter. The return value is TRUE if successful, FALSE if not.

Visual Basic Syntax
C++ Syntax
Arguments
Argument Description

paramName

Name of the global parameter to be retrieved

value

Value of the global parameter

Refresh Method

Re-executes all active queries and refreshes the view. There are no arguments for this method.

Visual Basic Syntax
C++ Syntax

Stop Method

Aborts the current refresh and any queries that have been issued and are outstanding. There are no arguments for this method.

Visual Basic Syntax
C++ Syntax

Navigate Method

Retrieves the current scene and viewpoint. The return value is TRUE if successful, FALSE if not.

Visual Basic Syntax
C++ Syntax
Arguments
Argument Description

sceneName

Name of the target scene

xinches

Horizontal location of the target viewpoint in inches, relative to the center of the scene

yinches

Vertical location of the target viewpoint in inches, relative to the center of the scene

zoomFactor

Zoom factor of the target viewpoint

RuntimeSettingsBox Method

Displays the Runtime Settings dialog box for the Visionary viewer control, which allows the user to set the value of global parameters that are public. There are no arguments for this method.

Visual Basic Syntax
C++ Syntax

ViewpointsBox Method

Displays the Viewpoints dialog box for the Visionary viewer control, which allows the user to navigate to a specified viewpoint in the current or another scene. There are no arguments for this method.

Visual Basic Syntax
C++ Syntax

GetViewpoint Method

Retrieves the current scene and viewpoint. The return value is TRUE if successful, FALSE if not.

Visual Basic Syntax
C++ Syntax
Arguments
Argument Description

sceneName

Name of the current scene

xinches

Horizontal location of the current viewpoint in inches, relative to the center of the scene

yinches

Vertical location of the current viewpoint in inches, relative to the center of the scene

zoomFactor

Zoom factor of the current viewpoint

AboutBox Method

Displays the About dialog box for the Visionary viewer control. There are no arguments for this method.

Visual Basic Syntax
C++ Syntax



Visionary User's Guide, version 1.0
Copyright © 1998, Informix Software, Inc. All rights reserved.