Questions tagged [delphi-xe5]

Delphi XE5 is a specific version of Delphi released in September 2013. Always use the [delphi] tag alongside this tag.

Delphi XE5 is a specific version of Delphi.

Delphi XE5 was released on September 12, 2013 and is available as a standalone product or as part of RAD Studio XE5.

Delphi XE5 is compiler version 26, directive symbol VER260.

Notable new features of Delphi XE5 are:

Delphi XE5 was preceded by Delphi XE4.

Always use the tag alongside this tag.

880 questions
5
votes
1 answer

Play a sound alert/beep on Delphi XE5/Android platform

Is there any way to play a sound alert/beep on Delphi XE5/Android platform? What I'm trying to achieve is how to play system alert/beep sound like Windows application using Beep function or at least find the path of system's audio files so I can run…
user2980457
  • 133
  • 2
  • 8
5
votes
1 answer

ShowMessage in Delphi XE5 Shortended

ShowMessage() in Delphi XE5 shortens text. Is this new to me, or it is due to the encoded characters when encoding a url? I need to see the entire thing. I use the following function to encode my url: function TConnector.EncodeUrl(aDecodedUrl:…
LIVESTUFF
  • 137
  • 4
  • 17
5
votes
3 answers

How can I get a phone's contact list in a Firemonkey mobile application?

How can I get a phone's contact list in a FireMonkey mobile application?
Christos K.
  • 99
  • 3
  • 14
5
votes
1 answer

Overriding the system Date Format

In my application I am reading from one database and writing to a second. The app is quick and dirty so I am reading / writing using AsString on both the FieldByName and ParamByName of the queries. This works for all my use cases apart from where…
Dan Kelly
  • 2,634
  • 5
  • 41
  • 61
5
votes
1 answer

Is there a recommended route to installing JEDI and JVCL for Delphi XE5?

I see that JCL and JVCL are now in GitHub and I have previously installed them both under XE3 using the built-in installer. I've also used the XE4 'special' posted on the Embarcadero page. Has anyone managed to get JCL and JVCL working with XE5 yet…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154
5
votes
3 answers

FireMonkey TControl.MakeScreenshot generates an undersized bitmap on Mobile platforms

I am trying to generate a bitmap from a TLayout control. To do this I'm using the TControl.Makescreenshot function. When testing the application on Windows, everything works as expected: However, when running the application on iOS, Android (both…
norgepaul
  • 6,013
  • 4
  • 43
  • 76
5
votes
2 answers

Make a Form show with a Slide Transition

For my application, When showing new forms, I would like for there to be a transition slide when they appear somewhat similar to how Tab items can appear with slide transitions - well, actually in the same manner. I am unable to find any…
ThisGuy
  • 1,405
  • 1
  • 24
  • 51
5
votes
1 answer

Where do I set the application "Title" property in a FireMonkey mobile application?

Currently, the project name is used as the caption (title) under the icon on the device's home screen. Unfortunately, this doesn't allow me to use white spaces. A VCL application has an application "Title" property. You access it from the options…
norgepaul
  • 6,013
  • 4
  • 43
  • 76
5
votes
1 answer

List all files in storage with Delphi XE5 Android App

How do I list files in SD card path and internal memory path? I've tried FindFile with GetDocumentsPath as the parameter and i have no luck. Ouch, where can I find more documentation or code snippets for Delphi for Android?
alycia
  • 59
  • 1
  • 8
4
votes
1 answer

How to stretch image in Firemonkey?

I would like to resize an image to a predefined bitmap of 64 * 64, regardless of its current dimensions and aspect ratio. I tried Bitmap.ReSize but that keeps the aspect ratio. I tried TImage and set the WrapMode to iwStretch. That works to a…
Arnold
  • 4,578
  • 6
  • 52
  • 91
4
votes
2 answers

Delphi Insert data from StringGrid to a Database Table

Iam trying to insert data from a StringGrid to the Oracle DB table for that i tried like below. function TfrmMapping.LoadtoTable: Boolean; var I, J: Integer; lQuery, s: string; lData: TArray; begin for I := 0 to vTableColumns.count…
userhi
  • 553
  • 1
  • 7
  • 27
4
votes
2 answers

How to pass generic procedure TProc as a parameter and invoke it?

I have a logging class, which links to many modules. The main method of this class is a class method: type TSeverity = (seInfo, seWarning, seError); TLogger = class class procedure Log(AMessage: String; ASeverity: TSeverity); end; Somewhere…
Wodzu
  • 6,932
  • 10
  • 65
  • 105
4
votes
2 answers

How to adjust the code made for WINx86 to compile for WINx64

I was using assignment of Component Tag (NativeInt) value adding it to the set of bytes. The program worked properly when compiled for WIN32 but doesn't compile for WINx64. (Error 2001 Ordinal type required) Here is an MCVE: program…
asd-tm
  • 3,381
  • 2
  • 24
  • 41
4
votes
0 answers

How to populate a user-defined column in an FMX TGrid by LiveBindings

I am trying to create a TCalendarEdit containing column inside a grid component in the following way. type TDatecell = class(TCalendarEdit) end; TDateColumn = class(TColumn) private function CreateCellControl: TStyledControl;…
asd-tm
  • 3,381
  • 2
  • 24
  • 41
4
votes
3 answers

Descending sort in TFDTable results in duplicate rows

When using TFDTable in LDW mode, descending sort of fields results in duplicate rows. For example: TFDTable.TableName is set to a VIEW name (not a tablename) TFDTable.UpdateOptions.KeyFields is set to the primary key in the VIEW base…
cytrinox
  • 1,846
  • 5
  • 25
  • 46