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
6
votes
1 answer

How to Create a Vcl-Theme-Style for my own Component?

I use the BitmapStyleDesigner.exe (shipped with delphi xe5) to edit vcl styles to my application. How can i add a custom component to the styler palette? i want my TMyButton, which inherits TButton, have a different color, shape, etc than the…
linluk
  • 1,650
  • 16
  • 33
6
votes
1 answer

"reference to function" as result of a function

i have a function that returns a function TFunc which is reference to function:Integer. and i have a procedure which takes a function TFunc as argument, calls it and prints its result. program Project1; {$APPTYPE CONSOLE} {$R…
linluk
  • 1,650
  • 16
  • 33
6
votes
3 answers

Convert ISO 3166-1 alpha-2 Country Code to localized Country Name

Is there a way to convert the two-letter Country Codes into their readable counterparts without using external ressources? e.g. DE -> Germany, AD -> Andorra It would be great if I could select the target language or it's using the system language,…
Florian Koch
  • 1,372
  • 1
  • 30
  • 49
6
votes
2 answers

Why are two seemingly identical dynamic array types deemed not assignment compatible?

Just a little question, I'm not finding a specific answer so i guessed it might be faster to ask here. The compiler rejects the code below with the following error: incompatible types 'dynamic array' and 'array of string' TMailInfo = record …
Florian Koch
  • 1,372
  • 1
  • 30
  • 49
6
votes
2 answers

LongDayNames - originally in SysUtils

Moving from Delphi XE to XE5. Label1.Caption:= 'Today''s day is '+LongDayNames[DayOfWeek(Date)]; 'LongDayNames' no longer works. I see that Delphi put these in my uses: System.SysUtils, System.Variants, System.Classes, How do I find 'LongDayNames'…
user3470296
  • 79
  • 1
  • 2
6
votes
3 answers

faster alternative to InttoStr/StrToInt?

I wonder if there are faster alternative than System.IntToStr / System.StrToInt. There is a fast version but only UTF8. Which is Int32ToUTF8 from SynCommons.pas and due to slow string conversions it is bound to be slow. The purepascal RTL versions…
user3323367
  • 97
  • 1
  • 8
6
votes
1 answer

How to press button in the internet programmatically

How do I invoke button clicks within page content of a TWebBrowser ? I have found this code for VCL and an older version of Delphi: WebBrowser.OleObject.Document.GetElementByID('ID HERE').Click; I am using XE5, developing for Android and iOS so I…
ThisGuy
  • 1,405
  • 1
  • 24
  • 51
6
votes
1 answer

How to convert screen coordinates to control coordinates

I need code that is able to intercept several taps on a tablet at the same moment. In a previous question concerning how to handle several OnMouseDown's at the same moment (not possible), a link was provided that answered the question on how to…
Arnold
  • 4,578
  • 6
  • 52
  • 91
6
votes
1 answer

Passwords and Delphi TZipFile

Is Delphi XE5 TZipFile able to handle encrypted/password protected zip files? Or must users use third party software to handle this? Any help would be appreciated.
Alex
  • 543
  • 1
  • 9
  • 21
6
votes
2 answers

AlphaBlend in FireMonkey

How can I change AlphaBlend value (of a form) in a FireMonkey Desktop Application? Well It's available in VCL Application but I couldn't find it in FireMonkey. Screenshot:
Sky
  • 4,244
  • 7
  • 54
  • 83
6
votes
5 answers

Class segmentation fault (11)

Please follow the steps below: Create New Firemonkey Moblie Application Add TGeustureManager component to the Form Add 2 TButton components to the Form Button1.Text: "Button1: Do something..." Button2.Text: "Button2: Exit Application..." Double…
Oussama Al Rifai
  • 323
  • 1
  • 6
  • 16
6
votes
4 answers

Programming for Windows Mobile in Delphi

So Delphi now supports programming for Windows, MacOS, Android & iOS. Is there any way to use Delphi (XE5) to write programs for Windows Mobile?
Oussama Al Rifai
  • 323
  • 1
  • 6
  • 16
6
votes
2 answers

Save a TiniFile from application to iOS

I am very new to the iOS platform. I am trying to save an INI file for my application. The problem is that I can't get a path with write permission. Here is my code: ini := TIniFile.Create(GetHomePath + '/user.dat'); try …
opc0de
  • 11,557
  • 14
  • 94
  • 187
6
votes
3 answers

AdMob support in Delphi XE5

Where can I find AdMob support for Android in Delphi XE5? I have tried to find it in all components but could not find anything. Should I make it myself using JNI, if so then how can I do it?
wahm sarab
  • 89
  • 5
6
votes
3 answers

Intercept received SMS in Delphi XE5 for Android

Is it possible to intercept received SMS from Android in Delphi XE5 as per this java code How to read the incoming message using service in background in android?.
Ujang
  • 77
  • 1
  • 6