Canvas > Using Canvas > Canvas Screen Modes

Canvas Screen Modes

You can change the visibility of the document window using Canvas toolbar buttons, or the tabs at the bottom left of the screen, to view the screen in various modes or views.

Mode Icon or Tab Description

Design View

Design tab

Displays your screen in a standard window with all visible grids, rulers, and guides showing.

See Design View and Design Mode Elements for more information.

Script View

Script tab

Displays the script that powers the objects on your screen. Includes line numbers, writable and read-only portions, and handles for collapsing and expanding blocks of code.

See Script View and Scripting in Canvas for more information.

Controls View

Controls tab

Displays a list of all Canvas controls on the screen or object grouped by Type and displaying the following properties: Name, Type, Style, Height, Width, Z Index, Layer, Is Visible, and In Script. The list of controls can be grouped, sorted, and/or filtered.

See Controls view for more information.

Preview Mode

Debug selected screen

Run current screen (F5)

Displays your screen as if it were output in a Canvas Viewer dialog box, with all non-printing UI elements suppressed (grids, rulers, guides, non-printing objects). Includes a navigational toolbar with a refresh button, default chart button, Facility tag or SiteService / Facility radio button selectors, and appropriate selectors. See Running Screens for more information.

Debug Mode

Debug selected screen

Debug current screen

The Canvas debugger opens in a separate a CanvasViewer dialog box where you can observe the run-time behavior of your script and locate logic errors. See Debugging Screens for more information.

Build Mode

Build currect screen

Build current screen (F7)

Canvas will attempt to build your screen and display any results in the Output pane. The Output pane is where you can view compiler status, including success or individual error messages. Use the Output pane at any time to understand the implications of editing decisions while the screen is still in progress.


Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.