Questions tagged [delphi-xe]

Delphi XE is a specific version of Delphi. Delphi XE was released in August 2010, and is available as a standalone product or as part of RAD Studio XE.

Delphi XE is a specific version of Delphi.

Delphi XE was released in August 2010, and is available as a standalone product or as part of RAD (rapid application development) Studio XE.

Delphi XE code name is Fulcrum, compiler version 22, directive symbol VER220.

Speculation about Delphi XE prior to its release often referred to this release as Delphi 2011.

Delphi XE was preceded by Delphi 2010 and succeeded by Delphi-XE2

1495 questions
18
votes
5 answers

How can I allow a form to accept file dropping without handling Windows messages?

In Delphi XE can I allow my form to accept file 'drag and drop' but without having to handle bare windows messages?
Astronavigator
  • 2,021
  • 2
  • 24
  • 45
18
votes
1 answer

How To Zoom with keeping aspect ratio correctly

Well this is my goal. Use left mouse button to scroll the image, right mouse button to choose zoom rectangle and doubleclick to restore full zoom. I have currently tired, so far found its NOT to do with the way i load the images or display the…
Glen Morse
  • 2,437
  • 8
  • 51
  • 102
17
votes
2 answers

Access a strict protected property of a Delphi class?

I need to access a strict protected property, because I need to create a validation (based in the value of this property) to avoid a bug. (I don't have the source code of the third party class which has this property) only I have the definition of…
Salvador
  • 16,132
  • 33
  • 143
  • 245
17
votes
3 answers

In Delphi, why does passing a Interface variable sometimes require it to be a const parameter?

First the question: Why does the removal of const in UnregisterNode() cause failure, but not in RegisterNode(). Now the background: I’m working in Delphi XE with Interfaces and I ran into an artifact that has given me some pause and I’ve come to the…
Rich Shealer
  • 3,362
  • 1
  • 34
  • 59
17
votes
6 answers

Is there a non-reference-counted base class like TInterfacedObject?

I need a base class like TInterfacedObject but without reference counting (so a kind of TNonRefCountedInterfacedObject). This actually is the nth time I need such a class and somehow I always end up writing (read: copy and pasting) my own again and…
Heinrich Ulbricht
  • 10,064
  • 4
  • 54
  • 85
17
votes
4 answers

How to do a REST webserver with Delphi as a backend for a big web application?

I read this question but was somehow not satisfied with the answers. I also quickly read (as suggested in that question) the last chapter of Marco Cantù 2010 Handbook, from which I quote the following (I think I can quote such a short text): I…
UnDiUdin
  • 14,924
  • 39
  • 151
  • 249
17
votes
3 answers

How to switch an Application between Themed and not Themed at run-time?

Very much like the "Project|Options|Application|Enable runtime themes" CheckBox, but dynamically at run-time instead. [Delphi XE targetting Win XP or Win 7] I tried playing a bit with uxTheme.SetWindowTheme without success so far....
Francesca
  • 21,452
  • 4
  • 49
  • 90
16
votes
4 answers

Multiple Delphi versions on the same machine

What we would like to do is install multiple Delphi versions on the same machine, those versions are D7, D2010 and DXE. We had previously D7 and D2010, worked OK together(had to duplicate components for D7 and D2010 because of special conditions for…
user497849
16
votes
0 answers

Custom transaction level in Delphi DBX firebird

I am looking for a way to specify a custom transaction level in Delphi's DBX using the firebird driver. I am using Delphi XE. In the Parameter editor of the TSQLConnection component I can set various TransIsolation values and I'm using the default…
Ronald
  • 171
  • 1
  • 4
16
votes
5 answers

How to reorganize the folder structure of my units in Delphi?

I started a prototype with Delphi with all source files under one single directory. Now, I want to reorganize everything with folders. I found two way to do this. 1/ First is to open each unit in Delphi IDE and Save as the new folder. Then delete…
TridenT
  • 4,879
  • 1
  • 32
  • 56
15
votes
1 answer

How can I increase the size of the string that an external debugger visualizer can display?

I am once again writing an external debugger visualizer, and am running into a wall. There appears to be a limit to the size of the string that the debugger visualizer can return. The TStrings debugger visualizer that shipped with Delphi 2010 had a…
Cary Jensen
  • 3,751
  • 3
  • 32
  • 55
15
votes
3 answers

how auto size the columns width of a list view in virtual mode?

When I use a TListView (ViewStyle = vsReport) I can autofit the width of the columns setting the LVSCW_AUTOSIZE or LVSCW_AUTOSIZE_USEHEADER values in the Width property of each column, now I start to use the Listview in virtual mode, but the width…
Salvador
  • 16,132
  • 33
  • 143
  • 245
15
votes
4 answers

FillRect doesn't paint the complete TStringGrid cell in Delphi XE2

FillRect doesn't paint the complete TStringGrid cell in Delphi XE2. There is a gap of 3 pixels on the left side in the default color (with BiDiMode set to bdLeftToRight). This problem doesn't exist in Delphi 6 which I used before. procedure…
Finike
  • 151
  • 1
  • 4
15
votes
5 answers

Does Delphi XE produce faster code than Delphi 2007?

I've been using mostly Delphi 2007 for projects that don't need Unicode. Lately I've been wondering about Delphi XE because everybody is praising it; build-in SVN support I was wondering though, have there been any enhancements in the compiler…
Johan
  • 74,508
  • 24
  • 191
  • 319
15
votes
1 answer

ClientDataset.RefreshRecord no longer works in Delphi XE for joined tables - any workarounds?

TClientDataset.RefreshRecord no longer generates the table join part of SQL when trying to refresh a record on a ClientDataset connected to a dataset with a joined table in the SQL statement. As a result, calling this method results in SQL error…
Gary
  • 159
  • 1
  • 3