Salesforce

Tab Details Control Properties (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Tab Details Control Properties (Magic xpa 3.x)

Property

Description

Mobile Support

Data

The variable or expression associated with the control. It is not recommended to set an expression.

If the data has no default value, at runtime it will be updated with the value of the first tab. Online support: Since version: 2.0

Android, iOS and Windows 10 Mobile

Variable Name

This read-only property shows the variable name as selected in the Data property.

Android, iOS and Windows 10 Mobile

Visible Layers List

The tab layers that will be visible at Runtime. This property enables you to dynamically show, hide or reorder the tabs.

The order that you list them here will also be the order of the layers of the Tab control. If the layer list is empty, all the tabs will be shown.

The tab variable will get the value according to the layer number as defined in the Items List and the tab caption will be according to the Display List.

For example:

  • Items List = 'A,B,C,D'

  • Display List = 'Tab1, Tab2, Tab3, Tab4'

  • Layers List = '3,2'

In this case, the tab will include two tabs with caption of Tab3 and Tab2.

Pressing the first tab (with caption of Tab3) will set the Tab's variable with the value of C.

Any controls that were attached to the 3rd tab (at Studio) will be shown.

If the tab variable is updated to a layer that is not visible, then no layer will be selected.

Since version: 1.5

See also How Do I Dynamically Define the Tab Order and Visibility for a Tab Control?

Android, iOS and Windows 10 Mobile

Control Name

The control name is used by handlers and functions to refer to the control.
Unicode is not supported for this property.

Android, iOS and Windows 10 Mobile

Attribute

The attribute of the selected variable or expression. The Attribute property is fixed for variables. You can change the setting for items based on an expression.

Platform specific: This property is read-only for Android and iOS devices.

Android, iOS and Windows 10 Mobile

Context Menu

The context menu to be used for the control.

Note: When a context menu is defined, it will override the default OS context menu.

See also Context Menu.

Allow Drag

Enables the dragging of data from the control to other controls in the same project or other projects that run on the same machine. The data copied from this control can be set manually by defining a handler over the Drag begin event, or automatically by the Magic xpa engine.

Note: An expression set for this property is only evaluated when the task is loaded.

See also:

How Do I Copy Data Within an Application by Dragging It?

How Do I Drag Data from Magic xpa to External Applications?

Rich Client support: Since version: 2.0

Allow Drop

Enables the dropping of data onto the control from other controls in the same project or other projects that run on the same machine. The data copied onto this control can be set manually by defining a handler over the Drop event, or automatically by the Magic xpa engine.

Note: An expression set for this property is only evaluated when the task is loaded.

See also How Do I Drag Data from External Applications to Magic xpa?

Rich Client support: Since version: 2.0

Reference
Attachment 
Attachment