Application Options
Go Up to Project Options Dialog Box
Project > Options > Application
Contents |
Use the Application page to set options for the current application.
| Options | Description |
|---|---|
|
Target, Apply, Save |
See Target Options. |
|
Common items |
The Application page offers you a different set of options depending on the type of application you are developing:
- Desktop application options (either VCL or FireMonkey)
- Mobile application options (FireMonkey only)
Desktop Application Options
For a desktop application, the Application page lets you configure the following options:
| Option | Description | ||||
|---|---|---|---|---|---|
| Application Icon Settings | |||||
|
Icon (for Windows applications) |
Specify an icon file (
RAD Studio provides personality-specific
For console applications, setting the application icon is disabled. Windows uses a standard console-mode icon by default. If you want to change the icon for your console application, see the following tutorial: Delphi @ About.com: Change the Default Application Icon for a Console Mode Delphi Application. | ||||
|
Icns icon (for FireMonkey Mac OS X applications) |
Specify an Icns icon (
RAD Studio provides personality-specific
Each | ||||
| Run-time Themes | |||||
|
Enable runtime themes |
Specifies whether the application you are developing is to use run-time themes or to use a custom manifest. By default, this field is None for preexisting projects and Enable runtime themes for new projects.
| ||||
|
Custom manifest |
If you select Use custom manifest, the Custom manifest field is enabled. To browse for | ||||
| Output Settings | |||||
|
Target file extension |
Specifies the extension of the final target file. |
| Preview Options | |
|---|---|
|
Preview |
For iOS target platforms, this field appears on the right-hand side of the Application page and displays a preview of the selected image. |
|
Actual size |
Check this checkbox to have the Preview show the icon in its actual size. By default, the preview is resized so that it does not take more space than is available in the right-hand column. Depending on the size of the image, you might need to scroll to see the whole image. |
FireMonkey Mobile Application Options
For a mobile application, the Application page provides three tabs:
- iPhone
- iPad
- Orientation
Icons for Your Mobile Apps
For the iPhone and iPad platforms, RAD Studio provides icon files that you can use for FireMonkey iOS applications in the form of .png files of various sizes, available in the /bin and /bin64 directories of your product installation.
For example, here are the names of the some of the icon files provided by RAD Studio:
- FM_ApplicationIcon_57x57.png
- FM_LaunchImage_640x960.png
- FM_SettingIcon_29x29.png
- FM_SpotlightSearchicon_100x100.png
To configure the images and icons that are deployed along with your mobile application, click the ellipsis (
) in the appropriate field on the platform-specific tab (iPhone or iPad).
iPhone Tab
| Field | Description |
|---|---|
| Application Icon 57x57 | Icon representing your application. This is the icon that your users can place on their Home screen, and tap to start your application. |
| Application Icon 114x114 | |
| Launch image 320x480 | Placeholder image for the first screen of your application.
The launch image is displayed instead of your application until your application finishes loading and takes the place of the image. |
| Launch image 640x960 | |
| Launch image 640x1136 | |
| Spotlight search icon 29x29 | Icon representing your application on the settings pages and Spotlight search results. |
| Spotlight search icon 58x58 |
iPad Tab
| Field | Description |
|---|---|
| Application icon 72x72 | Icon representing your application. This is the icon that your users can place on their Home screen, and tap to start your application. |
| Application icon 144x144 | |
| Launch image portrait 768x1004 | Placeholder image for the first screen of your application.
The launch image is displayed instead of your application until your application finishes loading and takes the place of the image. |
| Launch image landscape 1024x748 | |
| Launch image portrait 1536x2008 | |
| Launch image landscape 2048x1496 | |
| Spotlight search icon 50x50 | Icon representing your application on the settings pages and Spotlight search results. |
| Spotlight search icon 100x100 | |
| Setting icon 29x29 | Icon representing your application on the settings pages and Spotlight search results. |
| Setting icon 58x58 |
Orientation Tab
| Field | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Custom orientation | Check this checkbox so that you can limit or specify the orientations that your iOS app supports. For example, to always display your iOS app in portrait orientation, check the Custom orientation and Portrait checkboxes.
iOS devices support rotation of the form in the following directions:
If Custom orientation is not checked, then the orientation of your app responds to the default rotations, according to the iOS device.
|
Notes
- You can always configure the images and icons in the iPhone and iPad tabs, regardless of the target mobile device currently selected.
- Image files must be
.pngfiles, and the files must have the required dimensions; otherwise you get an error message.
- Not all images are required; for details, see the Apple Custom Icon and Image Creation Guidelines.
- If you do not want to provide a specific image, clear the image field, and click OK.
- If you clear an image field, make sure the selected Target on the Application page is All configurations. Empty fields are filled with the paths in parent targets, and All configurations is the only target that does not get overwritten.
- You can also define the
UIDeviceFamilyproperty value associated with your iOS app.UIDeviceFamilyis a value in the info.plist file associated with your iOS app;UIDeviceFamilydefines the iOS devices on which your app is supported. For iOS apps, the defaultUIDeviceFamilyis iPhone & iPad, but you can limit your iOS app to either iPad, or iPhone if you prefer. SetUIDeviceFamilyin the Key/Value list on Project > Options > Version Info.