ShowScreen

<< Click to Display Table of Contents >>

 

ShowScreen

ShowScreen(Screen, [Zoom],[ Scrollbars], [Arg], [Alignment])

This method loads a Screen on a Splitter, and then closes the Screen or Frame previously loaded. The available parameters on this method are the following:

Screen: A Screen object to load. This object must be returned by Viewer's GetScreen method

Zoom: Screen's percentage of zoom. If omitted, assumes the value 100

Scrollbars: A Boolean indicating whether this Screen's scroll bar must be enabled or not. If omitted, does not enable this Screen's scroll bar

Arg: A String whose value is used on the OnPreShow event of the Screen to load. If omitted, does not pass any value to the Screen to load

Alignment: Indicates whether a Screen must be aligned to the top left corner (1, one) or centered (2, two) relative to the visible area. If this parameter is omitted or an invalid value is informed, it assumes the value 0 (zero, default behavior of that Screen)

 

The SplitLink property is updated after calling this method.

 

NOTE

The Screen parameter only accepts an object returned by Viewer's GetScreen method. This method fails if used with a Screen object returned by another method or property, such as the Screen property, common to all Screen objects.

Was this page useful?