Salesforce

Push Button Details Properties (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Push Button Details Properties (Magic xpa 3.x)

Property

Description

Mobile Support

Data

The variable or expression associated with the control.

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

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

Format

The display format of the data.

The property can inherit a value from the format of the data or the model.

The initial setting is the Picture inherited from the item's Column repository setting.

When a Push Button has no variable in the Data property, the Format property determines the content that will be displayed on the Push Button. The ampersand (&) character is used as a shortcut key for the Push Button control. The letter after the ampersand will be underlined. During runtime, pressing Alt + shortcut key (underlined letter) will activate the push button. This is very useful when the push button has no variable in the Data property, and therefore the push button is not parkable.

See also How Do I Set Accelerators to Push Buttons?

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.

Android, iOS and Windows 10 Mobile

Button Style

The style of the button. For more information, see Button Style.

Android, iOS and Windows 10 Mobile

Default Image File

The image file that will be displayed on the control.

The image is displayed in its original size and is aligned in the control according to the Vertical and Horizontal Alignment property values.

This property is available in Online tasks only.

Image List file name

The image file that will be displayed on the control in the Studio only.

The image is displayed in its original size and is aligned in the control according to the Vertical and Horizontal Alignment property values.

This property is available in Rich Client tasks only.

The image file is taken from the server. Since version: 1.9

Android, iOS and Windows 10 Mobile

Event

Defines the event that will be raised when the control or operation is executed. You can zoom from this property to select a User event. Since version: 3.0

Android, iOS and Windows 10 Mobile

Event Type

Defines the type of event that will be raised when the control or operation is executed. For information about the various options, see Event Type. Since version: 3.0

Android, iOS and Windows 10 Mobile

Arguments

The arguments that will be sent to the event handler once the event is invoked. The Arguments property displays the number of arguments passed from the raised event. You can zoom from this property to the Argument repository to pass the required arguments.

Note that Push Button events behave as Wait=No, so the arguments will not be returned.

Since version: 1.5

Android, iOS and Windows 10 Mobile

Raise at

Specifies where the event will be raised at. The optional values are:

Container task (default value) – Triggers an event for the task that has the Push Button control assigned.

Task in focus – Triggers an event for the task in focus (even if the push button was defined in another task).

For additional information, see Raise At.

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