0

Screen Control (version 21)

  1. Screen title and navigation tab
  2. Edit screen name
  3. Hide current screen from navigation
  4. Add new screen
  5. Edit screen script *
  6. Set asset instance

 Properties

  • Name - a unique name used to reference the control in script *
  • Height - the height of the screen in pixels
  • IsNavigationVisible - enables/disables the visibility of the navigation tab
  • Title - displays descriptive text in the navigation tab when an application contains multiple screens
  • Width - the width of the screen in pixels
  • AssetBranchCount - specifies the number of branches displayed in the asset picker
  • AssetInstance - sets the screen to an asset instance
  • AssetPickerInlineWidth - specifies the width (pixels) of the inline asset picker
  • AssetPickerMode
    • Modal - the asset icon will appear on the tool bar next to the Redo button to switch between assets  
    • Inline - a column of asset instances will appear on the left-hand side of the screen to switch between assets
    • None - no picker is presented
  • OnBeginAssetChange - used to trigger a script to run before the asset is changed *
  • OnEndAssetChange - used to trigger a script to run after the asset has changed *
  • Script - allows the user to edit the script. Scripting is written in C#. Documentation for scripting can be found by clicking the 'Edit Script...' link and clicking on the '?' icon in the top-right corner of menu. *

* These properties are only available to admin users.

4replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • How do I make a copy of a screen in the same file. 
    The reason is that I need the same screen with the same layout but different tags.

    Thanks.

    Like
    • Hi igorsantos ,

      There is no copy feature yet, but there are plans to include one in the future. For now, the easiest way to copy the entire screen would be to edit the AxiomApp2 directly. By default, these are located in C:\ProgramData\Canary\Axiom\Applications\[UserFolder]. The files use a JSON structure. You are looking for the "ControlKind" labeled "Screen". Once you copy and paste this section, you will want to give the "ControlName" a unique name such as "Screen2".

      Like 1
    • Hi Steve Mason , it worked here.
      Thank you very much.

      Like
    • You're welcome igorsantos !

      Like