The following chart details the Magic xpa features that have different behaviors for the various mobile devices.
|
|
|
|
Forms
|
Action Bar Menu
|
No
|
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
|
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
|
Orientation Lock
|
No
|
Yes
|
Yes
|
Pop Up
|
No
|
Yes
|
Yes
|
---|
System Menu
|
Yes
|
No. the 'Back' and 'X' buttons are shown in a navigation view.
|
Yes
|
Title Bar Color
|
No
|
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
|
Check Box
|
|
|
|
Appearance
|
Box, Button
|
Box, Switch
|
Switch
|
Edit
|
|
|
|
Vertical Alignment
|
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.
|
Animated gifs
|
Yes
|
No
|
No
|
|
|
|
|
Label
|
|
|
|
Style
|
Yes
|
Yes. All border styles (except for none) look the same.
|
Radio
|
|
|
|
Appearance
|
Yes
|
No
|
No
|
Tab
|
Yes
|
Yes. Appears as a tab bar.
|
Yes. Appears as a tab bar.
|
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.
|
Image List Indexes
|
Yes
|
Yes
|
Yes
|
Table
|
|
|
|
Set Table Color
|
Yes
|
Yes. Only Table option is supported.
|
Yes. Only Table option is supported.
|
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.
|
Row BG Color
|
Yes
|
No
|
No
|
Divider Color
|
Yes
|
No
|
No
|
Row Highlight Style
|
Yes
|
Yes
|
Yes
|
Row Highlight Color
|
Yes
|
Yes
|
Yes
|
General control & form properties
| | | |
Gradient Color
|
Yes
|
Yes
|
No
|
Gradient Style
|
Yes
|
Yes. Supported options: Horizontal, Vertical, Diagonal Left and Diagonal Right
|
No
|
|
|
|
|
Mobile control properties
|
|
|
|
Border Color
|
No
|
Yes (No for Table controls)
|
Yes
|
Border Width
|
No
|
Yes (No for Table controls)
|
Yes
|
Corner Radius
|
No
|
Yes (No for Table controls)
|
Yes
|
Border Focus Color
|
No
|
Yes
|
Yes.
|
Border Focus Width
|
No
|
Yes
|
Yes
|
Open Edit Dialog (Edit control only)
|
No
|
Yes
|
No
|
Open Default Alignment (Edit control only)
|
No
|
Yes
|
No
|
Swipe Refresh (Table control only)
|
No
|
Yes
|
Yes
|
Functions
|
|
For a list of functions not supported for mobile devices, see below.
|
BrowserGetContent
|
Yes
|
No
|
Yes
|
BrowserScriptExecute
|
Yes
|
Yes
|
Yes
|
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.
|
ClientImageCapture
|
No
|
Yes
|
Yes
|
Make photo (using ClientFileOpenDlg)
|
No
|
Yes. Saved as jpg.
|
ProgressDialogSet
|
No
|
Yes
|
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
|
Events
|
Context Menu event
|
Yes
|
No
|
No
|
Application execution properties
|
FirstHTTPRequestTimeout
|
Yes
|
Yes
|
No
|
SecureRecentApps
|
Yes
|
Yes
|
Yes
|
Miscellaneous
|
Auto Skip directive
|
Yes
|
No
|
No
|
PDF printing & viewing
|
No
|
Yes
|
Yes
|
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
|
Third-party libraries in the app
|
N/A
|
Yes. Put the library in your app's libs folder.
|
Yes. Add the library using Xcode.
|
Push notifications
|
No
|
Yes
|
Yes
|