Questions tagged [delphi-2010]

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

Delphi 2010 is a specific version of Delphi.

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

Delphi 2010 codename is Weaver.

Some of the major features of the Delphi 2010 release include:

  • The introduction of a new, rich RTTI (reflection) API that far exceeds the level of detail available in previous Delphi editions.
  • Full Windows 7 support at the compiler and standard library level.
  • Built-in VCL-level support for touch, multitouch and gesture input, even on earlier Windows versions without OS-level touch support.

Delphi 2010 was preceded by Delphi 2009 and succeeded by Delphi XE.

1635 questions
15
votes
4 answers

Delphi XE3 EXE file size 25 times larger than Dephi 7

As a test I decided to create a simple "Hello world" app in Delphi using Delphi 4, 5, 6, 7, 2005, 2010 and XE3. The app is nothing more than a TForm, a TButton with an OnClick event that calls ShowMessage('Hello world'). Below are the results of…
user1527613
  • 1,100
  • 4
  • 12
  • 29
15
votes
12 answers

case insensitive Pos

Is there any comparable function like Pos that is not case-sensitive in D2010 (unicode)? I know I can use Pos(AnsiUpperCase(FindString), AnsiUpperCase(SourceString)) but that adds a lot of processing time by converting the strings to uppercase every…
smartins
  • 3,808
  • 7
  • 42
  • 54
14
votes
6 answers

Setting multiple labels to transparent across 1.000 forms?

I skinned my software with Devexpress and I found that the labels were non-transparent causing them to have grey background. There's just endless forms, so I was wondering whether there was a way to do this task (of setting labels to transparent)…
Rosenberg
  • 2,424
  • 5
  • 33
  • 56
14
votes
1 answer

Proxy server using Indy

I'm new to Indy and I want to build a simple proxy-server with it. This is a quite big library, and I just don't know where to start. When client connects to server, OnExucute fires up and receives client connection as parameter…
Frantic
  • 1,179
  • 11
  • 25
14
votes
3 answers

Borderless TForm with drop shadow

I have made a TForm derivative that acts like the drop down part of a combo, or a hint window, or a popup menu - a temporary thing. It has no caption - its BorderStyle is set to bsNone. The form is displayed non-modally using Show, having set its…
willw
  • 1,308
  • 13
  • 28
14
votes
2 answers

Ugly "disabled" images of TMainMenu

Delphi 2010, Win32 VCL. I need to create a main menu for my application with the most standard look. TMainMenu looks nice in all Windows versions, the only bad thing is when it displaying images for items with Enabled=False. Delphi has some strange…
Andrew
  • 3,696
  • 3
  • 40
  • 71
14
votes
1 answer

How to create an instance of object with RTTI in Delphi 2010?

As we all known, when we call a constructor of a class like this: instance := TSomeClass.Create; The Delphi compiler actually do the following things: Call the static NewInstance method to allocate memory and initialize the memory layout. Call the…
Baoquan Zuo
  • 652
  • 4
  • 15
14
votes
6 answers

Is there any new ORM for Delphi 2010?

Delphi 2010 has new features regarding the RTTI, which I read it will make it easier for ORM tools and much cleaner code. but I have not found any ORM incorporated these features. Do you think the Embarcadero should built one and include it with…
DelphiDev
  • 381
  • 1
  • 3
  • 11
14
votes
4 answers

Delphi: Prevent method names from appearing in executables

I am writing a class to handle security in my executable (checking serials, trial date check etc). After I compile the executable (even in Release build, with all debug and RTTI generation turned off), when I open it in NotePad and search the method…
Vladislav Rastrusny
  • 29,378
  • 23
  • 95
  • 156
14
votes
5 answers

Delphi pre-build event not executing BEFORE compile

I'm busy automating our builds to include the svn revision number. We're using Delphi 2010. I added a pre-build event calling a batch file that injects the the svn revision number (read from the entries file in the .svn directory) and a specified…
Jaco Briers
  • 1,703
  • 1
  • 21
  • 34
14
votes
2 answers

TWAIN scanning components for Delphi

I need to add TWAIN scanning to an Delphi application and am having trouble locating an off-the-shelf component to do so. I downloaded TDelphiTwain but, when used in D2010 on Windows Vista, it does not appear to recognize any Twain sources on my…
Larry Lustig
  • 49,320
  • 14
  • 110
  • 160
13
votes
5 answers

How to test a class that connects to a FTP server?

I am developing a live update for my application. So far, I have created almost all unit tests but I have no idea how to test an specific class that connects to a FTP server and downloads new versions. To test this class, should I create an FTP…
Rafael Colucci
  • 6,018
  • 4
  • 52
  • 121
13
votes
2 answers

Change keyboard shortcuts in RAD Studio 2010

I use C++ Builder 2010 and I could'nt figure out how to change keyboard shortcuts. From Tools > Options > Editor Options > Key Mappings, there are some key mapping modules, I use "IDE classic module", but I want to change some shortcuts in this…
13
votes
7 answers

Screen recorder

I'm interested in a library(for windows) written in Delphi/Pascal or C++ that allows me to record(to a video format) desktop screen, requirements: must be able to specify the frame rate, or at least be able to record @ 5fps; must be open source or…
user497849
13
votes
4 answers

Focus next control on enter - in overridden KeyUp

I have my custom class that extends TEdit: TMyTextEdit = class (TEdit) private fFocusNextOnEnter: Boolean; public procedure KeyUp(var Key: Word; Shift :TShiftState); override; published property FocusNextOnExnter: Boolean…
JustMe
  • 2,329
  • 3
  • 23
  • 43