Questions tagged [delphi-xe3]

Delphi XE3 is a specific version of Delphi released on Sept. 2012

Delphi XE3 was released in September 2012 and is available as a standalone product or as part of RAD Studio XE3.

Delphi XE3 codename is WaterDragon, compiler version 24, directive symbol VER240.

Delphi XE3 was preceded by Delphi XE2 and succeeded by Delphi XE4.

Always use the tag alongside this tag.

666 questions
64
votes
1 answer

Live Binding with Automatic updates in XE3 (no need to call Notify() as in XE2)

I am currently using Delphi XE2, and heard about their new Live Binding with Automatic updates in XE3 (no need to call Notify() as in XE2). in C# or in Delphi XE2 we have to implement INotifyPropertyChanged (Notify(); in Delphi), and this approach…
22
votes
4 answers

How to calculate elapsed time of a function?

I would like to know how to calculate the time consumed for a function in Delphi. Then I wanted to show the used time and compare it with another function or component so as to know the faster function.
Hidden
  • 3,598
  • 4
  • 34
  • 57
20
votes
2 answers

Creating Accessible UI components in Delphi

I am trying to retrieve accessible information from a standard VCL TEdit control. The get_accName() and Get_accDescription() methods return empty strings, but get_accValue() returns the text value entered into the TEdit. I am just starting to try to…
Ostendo Nomen
  • 243
  • 2
  • 7
19
votes
3 answers

Getting application path in Firemonkey

So in VCL, one would use the following line of code to retrieve the applications path: ExtractFilePath(Application.ExeName) I tried the same thing Firemokey and I noticed that ExeName was no longer available. What code can I use as an alternative…
ple103
  • 2,080
  • 6
  • 35
  • 50
16
votes
3 answers

Delphi XE3: Problems with complex pre-build events

We are currently in the process of switching from Delphi XE to Delphi XE3, and we are having serious problems with our pre-build-events. Our pre-build events look like this: SubWCRev "" "" VersionInfo.rc brcc32…
Frank Schmitt
  • 30,195
  • 12
  • 73
  • 107
15
votes
2 answers

Can I change the display format for strings in the watch list?

Every now and then I use the watch window to display strings which contain sql statements. Now I select Copy Value from the context menu and get 'SELECT NAME FROM SAMPLE_TABLE WHERE FIRST_NAME = ''George'''#$D#$A Of course, this statement has to…
ventiseis
  • 3,029
  • 11
  • 32
  • 49
15
votes
1 answer

How to check if a reference to procedure is nil?

In the following example code the call to AssertTestObj() causes an access violation. Project InvokeTest2.exe raised exception class $C0000005 with message 'access violation at 0x00000000: read of address 0x00000000'. when debugging I can see…
TmTron
  • 17,012
  • 10
  • 94
  • 142
15
votes
4 answers

Delphi XE3 EXE file size 25 times larger than Dephi 7

As a test I decided to create a simple "Hello world" app in Delphi using Delphi 4, 5, 6, 7, 2005, 2010 and XE3. The app is nothing more than a TForm, a TButton with an OnClick event that calls ShowMessage('Hello world'). Below are the results of…
user1527613
  • 1,100
  • 4
  • 12
  • 29
14
votes
4 answers

How to detect modifier key change in a control which doesn't have focus?

Background: I'm working on a control derived from TCustomControl class which can get focus and which has some inner elements inside. Those inner elements are highlighted if the user hovers them with the cursor, you can select them, move them and so…
TLama
  • 75,147
  • 17
  • 214
  • 392
14
votes
1 answer

How I make RTTI-call with safecall function method of interface?

I have this test program https://gist.github.com/real-mielofon/5002732 RttiValue := RttiMethod.Invoke(RttiInstance, [10]); and simple unit with interface: unit Unit163; interface type {$M+} ISafeIntf = interface function TestMethod(aI:…
Mielofon
  • 428
  • 3
  • 14
12
votes
1 answer

How to disable flashing image in a button?

I have a Button which is linked to an ImageList. I change the ImageIndex over a OnClickEvent. Now i got the problem that when i change the image with the OnClickEvent it changes, but if i move my mouse over it it shows me the old one and is…
Hidden
  • 3,598
  • 4
  • 34
  • 57
12
votes
2 answers

How can I remove the sunken inner edge of an MDI client window?

The other day, I started to develop my new project. There should be a MDI form with some child forms on it. But when I started to develop, I ran into a following problem: when the main form becomes MDI-form, it draws with а terrible border (bevel)…
impulsgraw
  • 887
  • 3
  • 13
  • 34
12
votes
1 answer

How do I use animated PNG in Delphi?

How do I use animated PNG in Delphi?
hikari
  • 3,393
  • 1
  • 33
  • 72
12
votes
2 answers

Delphi XE2 RTTI broken?

I recently migrated from D2010 to DXE2 and found a showstopper bug (Or feature?) in XE2 and XE3 (Tested in my friend XE3) related to RTTI generation for TBytes fields inside classes. I found that the RTTI information for a TBytes variable inside a…
Eric
  • 552
  • 3
  • 14
11
votes
1 answer

How can I run a Delphi Win32 application with a specific local time?

I have a Delphi program that starts behaving wrong when run over midnight. To make a reproducable test case I have to change the local time of the system to something before midnight, run the program for some time, check for an error and switch…
Uwe Raabe
  • 45,288
  • 3
  • 82
  • 130
1
2 3
44 45