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

RichEdit and WM_VSCROLL message

When number of lines is not too large no problem with WM_VSCROLL message. When RichEdit has large number of lines (in my case ~130K lines with average 150 chars) it not works. RichEdit1.Perform(WM_VSCROLL, MakeWParam(SB_THUMBPOSITION, N), 0); scroll…
Branko
  • 1,384
  • 1
  • 16
  • 35
2
votes
0 answers

TRibbon Rebuilds TRibbonGroups randomly

I'm noticing that with my application the TRibbon is flickering and rebuilding itself at seemingly random (but reproducible) times. By random, I mean I don't see the connection. Windows 7 x64 Delphi, RAD Studio XE2, Update 4 Rubbon on main form,…
Mat DeLong
  • 297
  • 4
  • 17
2
votes
2 answers

Firemonkey: TSpeedButton IsPressed no visible Effect?

How do I set a TSpeedButton (on a TToolbar) to look pressed down? It's only highlighted when clicking but gets normal when the mouse leaves it. I set the property Stayspressed to True and indeed the property IsPressed becomes and stays True, but…
Steffen Binas
  • 1,463
  • 20
  • 30
2
votes
1 answer

Cannot make connection to Firebird 2.5 Server using Delphi XE2

I have installed the firebird 2.5 Server, created a database and want to make a connection to it with my Delphi XE2 using the Data Explorer. When I add the database details, username and password, I get the following error if I press the test…
Japster
  • 985
  • 6
  • 19
  • 38
2
votes
1 answer

How read a pchar using ReadProcessMemory

I'm using the ReadProcessMemory function to read the content of an external running app, I have a memory address which points to a PChar(UNICODE). I'm wondering which is the proper way to get that value back to a string variable? Now i'm using this…
Salvador
  • 16,132
  • 33
  • 143
  • 245
2
votes
2 answers

Problems with vrc file after upgrading project from XE to XE2

I tried to build a project in XE2. That was building correctly in Delphi XE , but on XE2 i have an error. THis file appears and i have an error on the ICON This vrc file ends with theese lines: MAINICON ICON "Project1_Icon1.ico" PLATFORMTARGETS…
UnDiUdin
  • 14,924
  • 39
  • 151
  • 249
2
votes
1 answer

FMX Direct 2D Issue

Good afternoon all! I'm experiencing a rather annoying issue with one of my current projects. I'm working with a hardware library (NVAPI Pascal header translation by Andreas Hausladen) in one of my current projects. This lib allows me to retrieve…
Scott P
  • 1,462
  • 1
  • 19
  • 31
2
votes
1 answer

Delphi Default/restricted behaviour of objects in repository

I have some code (Forms/Frames) in the repository, is there anyway to disable the 'use' option. I only want objects in the repository to be 'inherited' or copied. And is there a way to set the default to be 'inherited' Have looked at the XML in the…
Yandros
  • 65
  • 1
  • 4
2
votes
2 answers

Reuse TSQLQuery Missing Params

I'm using Delphi XE2 and a TSQLQuery object. It works the first time that I use it. If I immediately reuse it, then it doesn't parse the new SQL for its parameters and rebuild the qry.Params list: var qry: TSQLQuery; begin qry :=…
James L.
  • 9,384
  • 5
  • 38
  • 77
2
votes
1 answer

Delphi XE2 DataSnap REST handling parameters from iOS asihttprequest

I'm building an app for the iPhone linking to a Delphi XE2 DataSnap REST server. Originally I was coding the iOS front-end with the help of Embarcadero's mobile connectors, however due to many bugs I'm having to write my own link with the help of…
Martyn
  • 41
  • 3
2
votes
1 answer

VCL Styles possible bug with drawing scrollbars

I have a pagecontrol in the center of my main form (form1 in my image), and I want to open other forms docked into the pagecontrol. Because I have many controls on my child form, I need both vertical and horizontal scrollbars (on the child form I…
Cristian Vasuica
  • 369
  • 9
  • 22
2
votes
2 answers

FireMonkey PenMode equivalent - DrawLine

I am playing around with FireMonkey simply to test out a couple of things. One of which is implement "very simple" drawing on a canvas. eg Line, Rectangle etc... First question is, is there an equivalent of the graphex demo supplied for VCL for…
Jason
  • 2,572
  • 3
  • 34
  • 41
2
votes
3 answers

How generate a MD5 in delphi for azure blob storage?

I try to set a MD5 hash for the files I'm uploading to azure. I get this error: (400, 'HTTP/1.1 400 The MD5 value specified in the request is a invalid. MD5 value must be 128 bits and base64 encoded.', $7230400) This is how I do the md5 for the…
mamcx
  • 15,916
  • 26
  • 101
  • 189
2
votes
1 answer

Does GroupView work in the TListView in OwnerData mode?

I'm trying to implement an "Arrange by" feature for a TListView in Delphi XE2. In the form designer (if I turn off OwnerData) I can get groups to show up and add items to them However, if I try setting procedure TMyForm.LVData(Sender: TObject;…
Peter Turner
  • 11,199
  • 10
  • 68
  • 109
2
votes
1 answer

Delphi XE2 Datasnap TObject with TMemoryStream

How to transfer TObject with TMemoryStream through datasnap? TMyObject = class(TBizObject) FText: TMemoryStream; <-- Content not sent ... end on server side TServerMethods.GetMyClass(const AId: Integer): TMyObject begin Result :=…
Raido
  • 571
  • 5
  • 11