Salesforce

Platform Comparison (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Platform Comparison

The following chart details the Magic xpa features that have different behaviors for the various mobile devices.

Name

Windows
(Desktop & RIA)

Android

iOS

Windows 10 Mobile

Forms

Action Bar Menu

No

Yes

Yes

Yes

Color

Yes

Yes. System colors will be ignored, and the device default color will be used.

Enter and Exit Animation

No

Yes

Yes. Not supported for pop-up forms

Yes

Font

Yes

When using dialog units as the unit of measure, the form's font must be Microsoft Sans Serif size 8.

Navigation Drawer Menu

No

Yes

Yes

Yes. The navigation drawer is only opened by using its icon (swipe cannot be used).

Orientation Lock

No

Yes

Yes

Yes

Pop Up

No

Yes

Yes

Yes

System Menu

Yes

No. the 'Back' and 'X' buttons are shown in a navigation view.

Yes

Yes

Title Bar Color

No

Yes

Yes

Yes

Controls

Color

Yes

Yes. System colors will be ignored, and the device default color will be used.

Rich Text, Rich Edit, Tree, List Box & .NET controls

Yes

No

No

No

Check Box

Appearance

Box, Button

Box, Switch

Switch

Box, Switch

Edit

A focused Edit control will always appear with the native appearance: black on white.

Vertical Alignment

Yes

Yes

Yes

No

Image

Image Style

Yes

Yes. In Scaled to Fill and Scaled to Fit styles, the image is placed at the center of the control. Copied style not recommended.

Yes. In Scaled to Fit style, the image is placed at the center of the control. Copied style not recommended.

Yes. Tile option is not supported.

Animated gifs

Yes

No

No

No

Name

Windows
(Desktop & RIA)

Android

iOS

Windows 10 Mobile

Label

Style

Yes

Yes. All border styles (except for none) look the same.

Radio

Appearance

Yes

No

No

Yes

Tab

Yes

Yes. Appears as a tab bar.

Yes. Appears as a tab bar.

Tab icons are not supported.

Colors**

Yes

Yes. The Tab color affects the foreground and background color of the Tab control header (unlike Windows desktop). However, it does not affect the Tab area background. The screen color is defined according to the form's color, gradient and wallpaper. If the Tab color is a system color or a transparent color, the Tab color will have the same color as the Title Bar Color property (FG and BG). For Android devices, the line under the current tab will have the same color as the color of the tab's text, that is, the tab's FG color.

Image List File Name

Yes. Recommended height of 16 pixels.

Images must be rectangles. For iOS devices, it is best to use an icon whose size is a multiplication of 25 pixels.

No

Image List Indexes

Yes

Yes

Yes

No

Table

Set Table Color

Yes

Yes. Only Table option is supported.

Yes. Only Table option is supported.

No

Alternating BG Color

Yes

Yes. When a system color is used, the alternate lines appear white.

Yes. When a system color is used, the alternate lines appear white.

Yes

Divider Color

Yes

No

No

Yes

Row Highlight Style

Yes

Yes

Yes

No

Row Highlight Color

Yes

Yes

Yes

Yes. Only the background color will be used.

General control & form properties

Gradient Color

Yes

Yes

No

No

Gradient Style

Yes

Yes. Supported options: Horizontal, Vertical, Diagonal Left and Diagonal Right

No

No

Name

Windows
(Desktop & RIA)

Android

iOS

Windows 10 Mobile

Mobile control properties

Border Color

No

Yes (No for Table controls)

Yes

No

Border Width

No

Yes (No for Table controls)

Yes

No

Corner Radius

No

Yes (No for Table controls)

Yes

No

Border Focus Color

No

Yes

Yes.

No

Border Focus Width

No

Yes

Yes

No

Open Edit Dialog (Edit control only)

No

Yes

No

No

Open Default Alignment (Edit control only)

No

Yes

No

No

Swipe Refresh (Table control only)

No

Yes

Yes

No

Functions

For a list of functions not supported for mobile devices, see below.

BrowserScriptExecute

Yes

Yes

Yes

Yes. For the Browser control to support JavaScript, add the requested URL to the package.appmanifest file.

ClientBlb2File, ClientFile2Blb, ClientFileCopy, ClientFileDelete, ClientFileExist, ClientFileRename & ClientFileToServer

Yes

Yes. The file system is case sensitive. The names of Magic xpa related files are automatically saved in lower case. This function will not convert the file name to lower case. If you need to refer to the destination file from Magic xpa, use a lower case name in the function.

Yes. Only access to the temp folder is allowed. Use a relative path or use ClientOSEnvGet('temp') to get the folder.

Yes

ClientImageCapture

No

Yes

Yes

Yes. The cropping option is not supported.

Make photo (using ClientFileOpenDlg)

No

Yes. Saved as jpg.

SetCrsr

Yes

Shows a spinner image.

Environment Settings

Date Mode

Yes

No. The mobile device's date format is used.

Decimal Separator

Yes

No. The mobile device's decimal separator is used.

Input Password

Yes

No

No

No

Application execution properties

FirstHTTPRequestTimeout

Yes

Yes

No

No

SecureRecentApps

Yes

Yes

Yes

No

Miscellaneous

SpecialRIAEncryptAES

Yes

No

No

No

Auto Skip directive

Yes

No

No

No

PDF printing & viewing

No

Yes

Yes

No

Launch app from another app or email

N/A

Yes. Using the following link:

http://com.mycompany.myapp?parameters

Yes. Using the following link:

myapp://?parameters

No

Third-party libraries in the app

N/A

Yes. Put the library in your app's libs folder.

Yes. Add the library using Xcode.

No

Push notifications

No

Yes

Yes

No

Functions not supported for mobile devices

  • BrowserGetContent & BrowserSetContent

  • CaretPosGet

  • CHeight

  • Click** functions

  • ClientDirDlg

  • ClientFileSaveDlg

  • ClientFileSize

  • ClipRead & ClipWrite

  • ControlsPersistencyClear

  • CtrlHWND

  • CurRow

  • CWidth

  • DataViewToDNDataTable

  • DirDlg

  • DN*** functions

  • DragSetData

  • Drop*** functions

  • FormStateClear

  • FormUnitsToPixels & PixelsToFormUnits

  • MarkedTextGet & MarkedTextSet

  • Mnu*** functions

  • SetWindowFocus

  • Win*** functions

Reference
Attachment 
Attachment