Salesforce

Push Button Appearance Properties (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Push Button Appearance Properties (Magic xpa 3.x)

Property

Description

Mobile Support

Font

The font for the control's text taken from the Application Font repository.

Platform specific: On Android and iOS devices: The font size defined in Magic xpa is converted to pixels on the mobile device using the following formula: (font size on mobile in pixels) = (font size on Windows in points)*(device dpi)/72.

Android, iOS and Windows 10 Mobile

Color

The foreground color of the text and the background color that will be seen in the transparent area of the image.

This property is enabled when the Button Style property is set to Image Button or Hyper text.

A color value of 0 will show the Windows default color.

Platform specific: On mobile devices, when a system color is used it will show the operating system's default color for the control.

For Android devices, when a color is used, then the color will be used and no border or other drawing will be shown. To see the border you must use a color with a system color (to get the device default).

Android, iOS and Windows 10 Mobile

Gradient Style

Specifies the gradient style. Click to open the Gradient Style dialog box and select a gradient style. For a list of the options, click here.

Note: The gradient displayed is from the Foreground value to the Background value of the Gradient Color property. The color displayed for the None style is based on the BG color of the Color property.

This property is available in Rich Client tasks only.

Since version: 1.8

Platform specific: On Android and iOS devices, the following gradient styles are supported: Horizontal, Vertical, Diagonal Left and Diagonal Right. Since version: 2.3

Android and iOS

Gradient Color

The color for the gradient background.

Changing the value of the Gradient Style property to solid will disable this property, but will keep its values.

When using gradient, the BG color of the Color property is ignored.

This property is available in Rich Client tasks only.

Since version: 1.8; Android and iOS support – 2.3

Android and iOS

Hovering Color

The color of the control when the mouse pointer hovers over it. This property is enabled when the Button Style property is set to Hyper text.

This property along with the Visited Color property let you define the colors of a hyperlink per control.

Visited Color

The color of the control after it was pressed. This property is enabled when the Button Style property is set to Hyper text.

This property along with the Hovering Color property let you define the colors of a hyperlink per control.

Help Screen

Specifies whether a Help screen is associated with this control. You can zoom to select a Help screen from the Help list.

For Rich Client controls, only help screens of Type=URL are supported.

For Rich Client controls, the URL can point to a server file and not to a Web location. (Since version: 1.9)

This property is enabled when there is a value set in the control's Data property.

Tooltip

Specifies whether a ToolTip is associated with this control. A number specifies the number of the ToolTip Help in the Help list.

You can enter an expression for a Tooltip so that the Tooltip is dynamic. You can create the expression in Unicode format.

Help Prompt

Specifies whether a Help prompt is associated with this control. You can Zoom to select a Help prompt from the Help list.

This property is enabled when there is a value set in the control's Data property.

Visible

Specifies whether the control will be visible to the user.

Android, iOS and Windows 10 Mobile

Enabled

Specifies whether the control will be active.

On iOS devices, if a color is used, then the disabled effect will not be shown.

Android, iOS and Windows 10 Mobile

Horizontal alignment

The horizontal alignment of the text in the control. The options are Left, Center (default), and Right.

For Rich Client controls:

  • Since version 1.5, this property is relevant only for the HyperText button style.

  • Since version 2.0, this property is relevant for all button styles.

Android, iOS and Windows 10 Mobile

Vertical alignment

The vertical alignment of the text in the control. The options are Top, Center (default), and Bottom.

This property is available in Rich Client tasks only.

Since version: 1.9

Android, iOS and Windows 10 Mobile

Reference
Attachment 
Attachment