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
2 answers

XQuery / XPATH 2.0 for Delphi

Are there any library's for Delphi that would allow parsing HTML with XPath or XQuery. Similar to what PHP has built in by default. For example FLWOR..
user1647411
2
votes
1 answer

Delphi: How to create an extra design-time menu for a custom component?

I've recently recompiled TDBGrid component, to implement several custom functions, altho i've noticed that the feature of extra design-time context menu item "Columns editor" is gone now. I've failed to find any code which creates this menu in…
ertx
  • 1,494
  • 2
  • 15
  • 21
2
votes
1 answer

Not able to read messages while making tcp ip connection in delphi

I have on exe which is I run on my local machine (127.0.0.1). This exe writes at port 1234 and reads at 5678. exe writes after every 50 seconds an integer value say 1212, 4545. 6767 etc. I want to read that integer value and display. So I am using…
user1556433
2
votes
2 answers

Text change on a edit box

I am using an edit box as a round counter. I would like when the text = 5 or 10 for it to show this message then it does some functions. but even when the round is 5 or 10, i never get this message ERoundChange is the OnChange event for the…
Glen Morse
  • 2,437
  • 8
  • 51
  • 102
2
votes
1 answer

TClientDataSet.Cancel Loses TDBMemo Values

I have a form with the following controls: TDBEdit, TDBMemo, TDataSource, TClientDataSet If the user edits the fields and then clicks a button on the form that simply calls the MyCDS.Cancel method (to cancel the edits), the TDBEdit fields revert to…
James L.
  • 9,384
  • 5
  • 38
  • 77
2
votes
1 answer

Authorization failure TIdHTTP over HTTPS

I want to approach the Exchange webservice and handle XML SOAP composition (request) and parsing (response) myself. Therefore, THTPPRIO seems a bit overkill. I'm trying TIdHTTP but I'm stuck on the authentication; using Delphi XE2 update 4 with Indy…
Jan Doggen
  • 8,799
  • 13
  • 70
  • 144
2
votes
1 answer

Only one application instance with FireMonkey

With FireMonkey and a multi-platform application (Windows + Mac OS X), how to have only one instance of an application running at the same time? If a previous instance is already running, how to set it as the desktop foreground window? I can check…
Whiler
  • 7,998
  • 4
  • 32
  • 56
2
votes
1 answer

Identify which help context ID is being sent to a help file?

I'm working on an application with hundreds of forms and a corresponding help file with over 2,000 topics. I have one particular form which I am assigning a Context ID, but when I press "F1", the help file opens on its default page (Which means the…
Jerry Dodge
  • 26,858
  • 31
  • 155
  • 327
2
votes
1 answer

Can PieSeries of TeeChart summarize non-signifant data into an "Other" slice?

I have a TPieSeries which looks like this image when populated with data. Not very bright... Can I instruct the pie series to show the top N most significant records, and summarize the rest in another slice named "Others"? So far, the only thing…
iMan Biglari
  • 4,674
  • 1
  • 38
  • 83
2
votes
1 answer

How can I add the glyph property to my custom component?

How can I add a glyph property to my custom component? Vcl.Buttons has declared class TButtonGlyph but I cannot use it (Delphi is not seeing it with Vcl.Buttons in uses list).
JustMe
  • 2,329
  • 3
  • 23
  • 43
2
votes
2 answers

Passing multiple objects as one parameter

I want to pass multiple objects as one parameter with the smallest effort. I've got some type TOpenMode = [omNew, omEdit, omBrowse] And a procedure procedure OpenForm(Form: TForm; ANewWindow: boolean = false; Datasets:…
JustMe
  • 2,329
  • 3
  • 23
  • 43
2
votes
0 answers

It is possible to use the EWS Managed API from a Delphi Win32 VCL app (and how to start)?

I'm currently investigating accessing Exchange Web Services (EWS) through SOAP (see e.g. this prior question), but there also is a recommended EWS Managed API. Would it be possible to use that API from a Win32 Delphi-XE2 app? I see people using the…
Jan Doggen
  • 8,799
  • 13
  • 70
  • 144
2
votes
2 answers

Constructor in an Interface

I know - I cannot, but. I want all classes who will implement my interface to have the same owner (usually defined in constructor). What is the best practice to do that? Should I use some base abstract class or something like this?
JustMe
  • 2,329
  • 3
  • 23
  • 43
2
votes
2 answers

Removing duplicates from List

I wrote this function to remove duplicates from a TList descendant, now i was wondering if this could give me problems in certain conditions, and how it does performance wise. It seems to work with Object Pointers function TListClass.RemoveDups:…
r_j
  • 1,348
  • 15
  • 35
2
votes
2 answers

Cant select procedure as option for event OnMouseDown

I have a shape, when i click OnMouseDown in Object inspecter / Events tab. I would like for it to do the procedure "SelectMessage" But its not showing up as an option. Also if i manually type in "SelectMessage" I get error Property and method…
Glen Morse
  • 2,437
  • 8
  • 51
  • 102