Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A Tabbar shows a row with multiple Tabs (see below the tabs “Positionen”, “Kopfdaten”….). When selecting a Tab (e.g. “Text” in the sample below) the corresponding content is displayed below the tabbar. There is always only 1 Page of the Tabbar visible.

To create a new tabbar object:

  1. Using layout designer screen click on the New button (top-left side of screen) which will open the "Create new repository object" popup window. Fill in the object name and choose a template for it. template can be SimpleSwatTabbar if you want to create a fresh new grid object or you can use a different already created grid respository object as the template for the new object. For a well organised project you can also specify the name of a module under which you want the new grid object to reside. Press the tick button on the top-left of the popup window to save the new grid object or the cancel button next to it if you changed your mind
    Image AddedImage Added
  2. In the Repository-objects view of layout designer screen search for the newly created grid object by it's given name in the previous step. Double click on the grid object found to open it in layout designer and be able to configure it's attributes and events. The Master View allows the changes on the general attributes and events of the grid, while the Instances view holds the attributtes and events for the columns of the grid. The Links View enables you to adjust any links the grid object is used against.
    Image AddedImage AddedImage Added
  3. After performing the necessary changes on the grid object press the Save button on the top-left of layout designer in order to persist them 
     

Normally the grid object can not be used on it's own and it must be placed inside a container object (e.g. Window) to make it visible in the application.

To include a grid object instance into a container object:

  1. After opening the container object in layout designer where the grid object needs to be used, press Add button on top-left of layout designer screen which will open an "Add new instance" popup screen where you have to search for the grid object you want to use inside your container object and simply drag-and-drop it against an element of the layout hierarchy in the Design View
    Image Added
  2. Selecting the grid node in the layout hierarchy of Design View will reveal the settable attributes and events of this particular instance of the grid object which will be used at runtime. 
  3. Data content is usually provided by a data object (e.g. business entity) which needs to be linked to this graphical object using a Data link in the Links view of the Layout Designer.
    Image Added

 

For full description of attributes and events of this object please access the Client-Logic API