Salesforce

Tab Details Control Properties (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Tab Details Control Properties (Magic xpa 4.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 and iOS

Variable Name

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

Android and iOS

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 and iOS

Control Name

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

In Web Client tasks, this field must not start with a digit, or contain spaces or the special characters !,+:,~{}>\".

Android and iOS

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 and iOS

Custom Properties

It is a Read-Only, free-floating property that displays the number of items in the custom properties list for this specific form or control. You can access it by zooming-in to it.

Since version: 4.0

See also: Web Client Custom Properties Property

Context Menu

The context menu to be used for the control. When a context menu is defined, it will override the default OS context menu.

This property is not available in Web Client tasks.

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

This property is not available in Web Client tasks.

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

This property is not available in Web Client tasks.

Reference
Attachment 
Attachment