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

Sending self is not working

Not sure on what to make title please edit if needed. I have a procedure procedure TFZone1Mod7.ChangeText(sender: TObject); var ShapeOrderNo: integer; FoundComponent: TComponent; begin if…
Glen Morse
  • 2,437
  • 8
  • 51
  • 102
2
votes
1 answer

How to get package name/version at runtime

I'm loading package at runtime via LoadPackage(). Let's say after load I want to check the version of the package to ensure it's the newest. How can I do that?
JustMe
  • 2,329
  • 3
  • 23
  • 43
2
votes
1 answer

JvTreeView and JvCheckTreeView checkbox notification

I have set a JvTreeView.CheckBoxes to True, and the check boxes are displayed and working as expected, but on Windows XP SP3 and below, the OnNodeCheckedChange event is not fired. I googled a little, and found this issue on JVCL issue tracker, but I…
iMan Biglari
  • 4,674
  • 1
  • 38
  • 83
2
votes
1 answer

Is the key order important in the Delphi key 'Known Packages'?

I'm trying to save some Delphi setup info to speed up Delphi installation and I'm getting very confused with registry key value order behaviour. I exported my Delphi XE2 registry key: HKEY_CURRENT_USER\Software\Embarcadero\BDS\9.0\Known Packages to…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154
2
votes
3 answers

How to delete selected database records from a TDBAdvListView?

I am testing out Absolute Database by ComponentAce I have on my Form a TABSTable, TABSDatabase and a TDataSource and the data is being displayed in a TDBAdvListView, MultiSelect and RowSelect are True. I have only one Table. When either one or more…
Shambhala
  • 1,159
  • 3
  • 13
  • 31
2
votes
1 answer

Send data over multiple users using one software using delphi

I hope there is someone that can help me. I am writing a software that users can fill in information into a database, but I want to install that same software that I created on multiple computers. When a other user is inserting new information into…
2
votes
1 answer

How to declare cross referenced class types?

I tried to construct a class system in Delphi. The classes TFieldSpec and TTableSpec refer to each other through object properties. type TFieldSpec=class(Tobject) private FTableSpec : TTableSpec; public property TableSpec : TTableSpec…
user1730626
  • 437
  • 1
  • 8
  • 16
2
votes
4 answers

Calling TEdit objects based on DB query

I have a form with 7 TEdit having name EditPhone1, EditPhone2 and so on. In the same form I query a DB to get data to fill those TEdits. Of course I cannot know in advance how many results the query will return. How can I call the various TEdit…
asg2012
  • 315
  • 1
  • 6
  • 15
2
votes
3 answers

How to translate RETRIEVAL_POINTERS_BUFFER structure to Delphi?

I'm working with Windows API and have to recreate a structure inside a Delphi record. I think I have it down, but this one was a little confusing and I need to make sure I did this right. Here's the original C++ structure: typedef struct…
Jerry Dodge
  • 26,858
  • 31
  • 155
  • 327
2
votes
1 answer

Is it possible to modify VCL styles at runtime?

I have a TabControl in which each tab represents a distinct set of data. My application uses VCL Styles, and thus setting OwnerDraw to True does not lead to OnDrawTab being called. I was wondering if it is possible to somehow intercept the routine…
iMan Biglari
  • 4,674
  • 1
  • 38
  • 83
2
votes
2 answers

503 error with multipart upload GoogleDrive Api v2

I'm attempting to work with the Google Drive API in Delphi XE2, and thus far, I have just about everything working. One thing I'm struggling with is the multipart upload. When I attempt to upload a file, I get a 503 error. Normally, that should…
nick
  • 2,833
  • 3
  • 34
  • 61
2
votes
0 answers

How do I create a generic Firemonkey SOAP client with arbitrary WSDL?

I want to create (for OSX) a simple Firemonkey SOAP client that enables me to specify an endpoint and SOAP method, then pass arbitrary XML inside a SOAP envelope. It's my job to make sure my XML conforms to the WSDL on the other end; since it's a…
user1248816
  • 109
  • 2
  • 8
2
votes
1 answer

Parsing a flash json response (Delphi/ TWebbrowser)

I have a flash game and get updates after pressing a button. Only a table inside the flash gets updated and the changes are not shown in the html source (well, its flash after all). Logging with Fiddler shows first one encrypted package (containing…
Zibelas
  • 302
  • 1
  • 12
2
votes
1 answer

Create Trigger from Delphi Code using Native Client Driver

I have an insert trigger that contains dynamic sql stored as a resource for my XE2 project. It also contains placeholders for the database name and table name that are substituted when the Delph code runs to execute the SQL. Originally I was using…
SiBrit
  • 1,460
  • 12
  • 39
2
votes
2 answers

Why does Str() give "W1057 Implicit string cast from 'ShortString' to 'string'"?

Consider: function x_StrZero(N: Double; W: Integer; D: Integer = 0): String; var S : String; begin Str(N:W:D,S); S := Trim(S); This gives W1057 Implicit string cast from 'ShortString' to 'string' The online doc says: procedure Str(const X [:…
Jan Doggen
  • 8,799
  • 13
  • 70
  • 144