Questions tagged [delphi-xe2]

Delphi XE2 is a specific version of Delphi. Delphi XE2 was released on September 1, 2011 and is available as a standalone product or as part of RAD Studio XE2.

Delphi XE2 is a specific version of released on September 1, 2011.

Notable new features of Delphi XE2 are:

  • Support for 64 bit applications (on Windows only);
  • Inclusion of a new framework called that allows for cross platform development;
  • Cross platform development for Mac OS X and iOS(*) (in addition to Windows);
  • Live bindings, a new data binding concept for VCL and FireMonkey that supersedes data-awareness of controls.

*iOS projects require an extra development step using Xcode and the Free Pascal compiler on a Mac, but do deliver native iOS code.

Delphi XE2 was preceded by .

Always use the tag alongside this tag.

2598 questions
15
votes
2 answers

Why is 64 bit Delphi app calculating different results than 32 bit build?

We recently started the process of creating 64 bit builds of our applications. During comparison testing we found that the 64 bit build is calculating differently. I have a code sample that demonstrates the difference between the two builds. var …
Jeff Cope
  • 781
  • 2
  • 7
  • 15
15
votes
3 answers

HTML Tag Parsing

How can I parse Name: & Value text from within the tag with DIHtmlParser? I tried doing it with TCLHtmlParser from Clever Components but it failed. Second question is can DIHtmlParser parse individual tags for example loop through its sub tags. Its…
user1889268
15
votes
1 answer

Delphi 64-bit: finding incorrect casts?

I'm working on adapting a large Delphi code base to 64-bits. In many cases there are lines where pointers are casted to/from 32-bit values similar to this: var p1,p2 : pointer; begin inc(Integer(p1),10); p2 := Pointer(Integer(p1) + 42); Where…
Ville Krumlinde
  • 7,021
  • 1
  • 33
  • 41
15
votes
2 answers

Opening Delphi project files - Any downside of opening DPR instead of existing DPROJ file?

By default, the file extension descriptions for .DPR and .DPROJ are the same, so in Explorer when opening a project file with the same base name, both file descriptions are listed as "Delphi Project File" This presents a choice to the developer -…
Darian Miller
  • 7,808
  • 3
  • 43
  • 62
15
votes
4 answers

Minimize Delphi Form to System Tray

I am a Delphi learner. I am looking for solutions so that Delphi MainForm should be minimized to the System Tray instead of Taskbar. On Right Click on the System Tray Icon there should be some menus like "Restore" and "About" and "Help" etc. System…
Rubi Halder
  • 583
  • 3
  • 12
  • 24
15
votes
1 answer

Dynamically Invoking a SOAP method by name?

I am using Delphi XE2 to communicate with a fairly large SOAP service. I've successfully imported the wsdl and everything is working just fine. However, I find myself writing a lot of similar code. I would like to have a generic method that calls my…
dahook
  • 280
  • 2
  • 14
15
votes
3 answers

How to parse nested JSON object in Delphi XE2?

I'm new to JSON and I have this project on my hands that require me to parse a JSON and display some of its contents in a ListView. The problem is that the documentation I've read by now dealt with JSON objects containing JSON arrays, while my case…
Bogdan Botezatu
  • 579
  • 1
  • 9
  • 25
15
votes
1 answer

Delphi TImageList Bitmap Changes

I'm using Delphi XE2 Update 3. Update 4 is not compatible with some of our 3rd party components, so we haven't updated yet. I use TImageList's in my applications. I've noticed that many times when it toggle from source view to form view (F12),…
James L.
  • 9,384
  • 5
  • 38
  • 77
15
votes
1 answer

How to detect when form resizing starts and stops?

I'm working with some real-time drawing on a sizable form. When the user resizes the form, I do not want to apply size change to my graphics rendering until the user has released the mouse button, thus resizing is finished. How do I detect this and…
Jerry Dodge
  • 26,858
  • 31
  • 155
  • 327
15
votes
3 answers

How I can change the color of a TPanel with the VCL Styles enabled?

I need to change the color of a TPanel when the VCL styles are enabled. I tried using and modifying the code listed in the article Changing the color of Edit Controls with VCL Styles Enabled, but it is not working for a TPanel. How I can change the…
Salvador
  • 16,132
  • 33
  • 143
  • 245
15
votes
4 answers

Complete Class at Cursor Not Working

I've been widely making use of the Complete Class at Cursor function in Delphi, in 2010 and in XE2. Recently, after installing Update 4 for XE2, the Complete Class at Cursor stopped working. After doing some research, I found that uninstalling…
Jerry Dodge
  • 26,858
  • 31
  • 155
  • 327
14
votes
2 answers

How do I get Delphi to leave my DFM alone?

Using DXE2, I've written a form generator that creates both .pas and .dfm files. I am working on a routine that will allow me to modify different properties in the the dfm, such as Font.Height and TabOrder. When I open a generated file in notepad,…
skippix
  • 481
  • 1
  • 6
  • 14
14
votes
2 answers

Delphi XE2 Dataset field type TStringField does not support Unicode?

I've been looking through the TDataset class and its string fields, in Delphi XE2 and noticed that AsWideString returns a type of UnicodeString. However it gets the value from the function TField.AsString: String which in turn calls…
There is no spoon
  • 1,775
  • 2
  • 22
  • 53
14
votes
3 answers

Delphi Xe2 with Firemonkey : Can you have a non-client area that is painted in a style other than the default Windows nonclient paint style?

Here is a sample of a delphi application I am making using firemonkey + Delphi XE2. As you can see, you can use the visual style "stylebook" in Firemonkey to customize the appearance of most things inside the window frame. However the outside of the…
Warren P
  • 65,725
  • 40
  • 181
  • 316
14
votes
1 answer

Delphi XE2: Display PDF in a Delphi FireMonkey app on OSX

I'm working on a port of a Delphi app to OSX using FireMonkey. Part of the app displays PDF's, currently using the Acrobat viewer control or Gnostice components under Windows. These options aren't available in FireMonkey for OSX, so I was wondering…
Kevin McBrearty
  • 265
  • 3
  • 9