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
8
votes
4 answers

How to close android app in Delphi-XE5 Firemonkey application?

I have this piece of code procedure TFormMain.FormCloseQuery(Sender: TObject; var CanClose: Boolean); var msg: String; begin msg := 'Do you really want to exit?'; if MessageDlg(msg, TMsgDlgType.mtConfirmation, [TMsgDlgBtn.mbYes,…
Edijs Kolesnikovičs
  • 1,627
  • 3
  • 18
  • 34
8
votes
5 answers

How to check if network is available on Android and iOS ( Delphi XE5 )

How to check if network is available on Android and iOS?
Yordan Yanakiev
  • 2,546
  • 3
  • 39
  • 88
7
votes
2 answers

Compiler bug with overloaded function

The following code gives a stack overflow: function Func(x : Double) : Double; overload; function Func(x : Integer) : Double; overload; function Func(x : Double) : Double; begin Result := Func(Round(x)); end; function Func(x : Integer) :…
Matej
  • 442
  • 3
  • 9
7
votes
1 answer

Make Chrome open on second monitor?

I'm currently trying to make an app that forces a Chrome window to open on my second monitor but I can't find anyway to do it using arguments, now I'm wondering if I can somehow use Delphi to force it to open on the second screen or a specific…
user3464658
  • 229
  • 1
  • 5
  • 14
7
votes
1 answer

Hide process window with 'CreateProcess'

I'm using a procedure provided to me that'll run a process but I want the process to be run in the background without the window showing up. The call is ExecProcess(ProgPath, '', False); and the function is function ExecProcess(ProgramName,…
user3464658
  • 229
  • 1
  • 5
  • 14
7
votes
2 answers

delphi xe5 StrToFloat failure changing ThousandSeparator to ','

What am I doing wrong here? I simply want to convert a formatted string to a double and using the TFormatSettings passed in as a parameter to StrToFloat. I get the following exception: '3,332.1' is not a valid floating point value. The…
Mike Stephenson
  • 649
  • 6
  • 14
7
votes
1 answer

How to open .pas file from another app in already open Delphi IDE and position to line#

Assuming I have the Delphi IDE open, how can I open a .pas file selected in another app and open it in the Delphi IDE, as well as positioning it to a specific line number? I've seen some editing tools do this. I'm not sure if it's just an option to…
David Schwartz
  • 1,756
  • 13
  • 18
7
votes
1 answer

IDE Insight quit working

At some point, my IDE Insight function stopped working. I have checked both the XE5 and XE6 versions that I have on my system and neither work, so it must be environmental. When I click on the menu item, nothing pops up. There is no error given,…
SysJames
  • 411
  • 3
  • 10
7
votes
1 answer

TListView SelCount reporting the wrong number of items in a virtual list

I need to enable or disable a button depending on whether at least a row is selected in the list or not. Below is the code to reproduce this issue. The list is populated using the OnData event and it allows multiple rows to be selected. I thought…
boggy
  • 3,674
  • 3
  • 33
  • 56
7
votes
2 answers

Delphi Firemonkey Scale for High DPI Windows

I thought scaling an application in FireMonkey should be easy as it is supposed to work an a Retina-Mac too. It seems there is some background magic which chooses another style than, but this doesn't seem to be the case in Windows. In VCL there was…
Steffen Binas
  • 1,463
  • 20
  • 30
7
votes
1 answer

How to find Resolution under Delphi XE5

I started to develop a game under Delphi XE5 for iOS. I have problem with the Resolution feature of the Firemonkey. When I open the screen and I check resolution on the iPhone I get 320x480. But the native resolution of the iPhone 4 and 5 is…
7
votes
1 answer

Android App created by Delphi XE5 starts very slow

I have developed a few Android apps with Android SDK using Java and now that XE5 is out and i am a very experienced Delphi developer i tried a few samples off android apps and my impression is that android apps designed with XE5 runs very slowly,…
Mike
  • 73
  • 1
  • 1
  • 3
7
votes
2 answers

Delphi get android combobox selected item text

I have a combobox that has a lot of items inside and I have to get into a variable the name of the selected item. var a:string; begin a:=ComboBox1.Text; end; This is the way I used for a Delphi VCL application and it works. Here I'm developing…
Alberto Rossi
  • 1,800
  • 4
  • 36
  • 58
7
votes
1 answer

Android WebBrowser scroll down page

I developed an android app with Delphi XE 5 and I put a WebBrowser because I must show a webpage. By the way (the webpage) has a width of 1400px and so it is not entirely displayed. The width is fixed because I used on the webpage width:100%, but…
Alberto Miola
  • 4,643
  • 8
  • 35
  • 49
6
votes
2 answers

TRestClient/TRestRequest incorrectly decodes gzip response

I tried to read a REST API, which is gzip encoded. To be exact, I tried to read the StackExchange API. I already found the question Automatically Decode GZIP In TRESTResponse?, but that answer doesn't solve my issue for some reason. Test setup In…
GolezTrol
  • 114,394
  • 18
  • 182
  • 210
1 2
3
58 59