Lianja 3 App Inspector (Script)

From Lianjapedia
Jump to: navigation, search

Watch the Video

Before we look at the App Inspector, here's a quick reminder of what happens when the App Inspector is closed:

Workspaces have their own sidebar with file explorer panels.

In the Pages workspace the sidebar shows the database explorer panel, or, when you have a database open, the tables and columns explorer panels from which you can drag and drop.

To access the attributes and delegates for a Page, Section, Formitem or Grid Column, you double-click on its header or caption to activate the pull-left Attributes dialog.

For Pages and Sections you can also use the cog icon.

The pulldown at the top of the dialog allows you to select a sub-section of attributes, or the custom code delegates.

Clicking on the button next to a delegate lets you edit an existing file or create a new file with an automatically generated name in the script editor in the Apps workspace

You open the App Inspector from the Window pulldown in the system menu or using the headerbar Toggle App inspector

The App Inspector now replaces the workspace sidebar and combines all the sidebar content.

In the Pages workspace, you still have access to the tables and columns for drag and drop, but the default view is the Attributes tab.

The Attributes tab is a version of the individual Attributes dialogs that is always visible and editable.

Selecting a section, formitem or grid column selects that object's attributes in the Attributes tab.

View and modify the attributes and create and edit custom code delegates just as you would from the Attributes dialog.

Note that while the App Inspector is open the pull-left Attributes dialog is disabled.

You can also access the other tabs - so for example, double-click an App file to open it in the Script Editor in the Apps workspace or double-click a Library file to open it in the Script Editor in the Library workspace.

If you press the Ctrl key while double-clicking a script file name, the file will be opened in a floating window: ideal for making the best use of multiple monitors

The App Inspector can also be floated: use the Undock button and double-click the App Inspector header to dock it again, or Select Undock Windows from the System Menu and Dock Windows to return it to the sidebar, or use the Toggle toolbutton.

Undocked, move it as required and if you are not running fullscreen, you can select Side By Side Windows to automatically line it up next to the main window.

To close the App Inspector, click on the window x when it is undocked.

The sidebars are now displayed again in their individual workspaces, but can be hidden or shown using the toggle in the View pulldown of the system menu.

Clicking the Side By Side Windows system menu option when the App Inspector is closed, will open the App Inspector undocked.

Individual tabs can also be undocked - just double-click on the tab name.

To redock, double-click on the header or click the window x.

And whether you like the App Inspector docked or undocked, open or closed, your preference will be remembered when you restart the App Builder.