Salesforce

Image Details Control Properties (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Image Details Control Properties (Magic xpa 4.x)

Property

Description

Mobile Support

Data

The variable or expression associated with the control.

Android and iOS

Variable Name

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

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 !,+:,~{}>\".

In Web Client tasks, the controls for which data is not required, this property contains a default control name as Imagexxxxxxxx, where xxxxxxxx is the ISN of this control.

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.

Android and iOS

Default Image File

The name of the image file to be displayed.
Note:
An Image control must have either data or a default image file name.

This property is available for Online tasks only.

Studio Image file

The name of the image file for display in the Studio.

This property is available for Rich Client tasks only.

Image file

The name of the image file to display in the Studio as well as in Runtime if the filename is a constant. It is same as the Default Image File option in Online tasks.

This property is available in Web Client tasks only.

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

Load Image From

Specifies whether the file will be taken from the Server or the Client.

When the Image control data is a URL (prefixed with http:// or https://), then the image will be taken from the URL, regardless of the value of this property.

This property is available for Rich Client tasks only.

Since version: Android and iOS support – 2.2a

Android and iOS

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