grandMA3 User Manual Publication

ViewButton Keyword

grandMA3 User Manual » Command Syntax and Keywords » General Keywords » ViewButton
Version 2.1

To enter the ViewButton keyword in the command line, use one of the options:

  • Press MA + X7|View + X7|View
  • Type ViewButton
  • Or type the shortcut ViewB

Description

The ViewButton keyword is an object keyword which is used to call or store the object assigned on the view button.

Calling a view button only works if the object assigned to it supports it.

For more information see the Call Keyword.

Syntax

ViewButton [Screen_Number].["ViewButton_Name" or ViewButton_Number] (/Option "[Option_Value]")

[Function] ViewButton [Screen_Number].["ViewButton_Name" or ViewButton_Number] (/Option "[Option_Value]")

Option Keywords

The ViewButton keyword uses the following option keywords:

Examples

  • To call the view assigned to ViewButton 4 on screen 2, type:
User name[Fixture]>ViewButton 2.4 
Important:
If you do not specify the screen location using the /Screen option keyword, the view will be called to the screen that currently has focus.

  • To assign the user pool object "Guest" to ViewButton 1.1, type:
User name[Fixture]>Assign User "Guest" At ViewButton 1.1 

 

  • To remove the object assigned to ViewButton 4, screen 1, type:
User name[Fixture]>Delete ViewButton 1.4 

 

  • To label the view that is assigned to ViewButton 5 on screen 2 "Layout", type:
User name[Fixture]>Label ViewButton 2.5 "Layout"