delphi

Suggestions for an easy to use imagemanipulation library in Delphi?

I would like my app customers to open an image and be able to crop, rotate, resize antialiazed, lighten, darken, add an alphachannel and to be a little advanced have an autolevels routine. I have somewhat found code/liraries to do most of this functions, but they all seemes to be very hard to use or pretty bloatet with functionality i d...

AOP support in Delphi

Hi, Is it possible to do Aspect Oriented Programming in Delphi? I would be interested in native support as well as third party solutions. I don't have a specific problem I want to solve with AOP, but am simply interested in studying AOP. Thanks, Miel Bronneberg. ...

Drag/Drop inside an Application AND to another Application

I have a ListView containing file names. These file names need to be draggable to a TreeView, which is a drag/drop inside the application and works with the built in drag/drop support of Delphi - no problem. But I must also be able to drag/drop the ListView items to another application, e.g. Windows Explorer. This also works, for example...

Loading Delphi designtime packages on a project base

Is there a way to select designtime packages on a project bases? Packages are very useful in large project to keep the build time acceptable, but they are a real pita in those large projects too. When one developer adds a new package, it breaks to build for all other until they install the new package on their machine. And then there is...

Is there a DBGrid component that can handle large datasets fast?

Large datasets, millions of records, need special programming to maintain speed in DBGrids. I want to know if there are any ready-made components for Delphi (DBGrids) that do this automatically? EDIT For Example: Some databases have features such as fetch 1st X records (eg 100 records). When I reach the bottom with scrolling, I want t...

How to make a Delphi TSpeedButton stay pressed if it's the only one in the group

I'm not sure why the TSpeedButton has this property but when a TSpeedButton is the only button of a given groupindex, it doesn't stay pressed, whether or not "AllowAllUp" is pressed. Maybe a Jedi control would suffice, but hopefully there's some fix. Any help or anecdotes are appreciated. BTW, I'm (still) using Delphi 7, not sure if t...

Prevent series from using clWhite with Delphi TChart

I have a report that uses a TChart that I am maintaining. One of the TLineSeries that gets added automatically gets assigned the color clWhite, which is too close to the background (clBtnFace). If I change it, then the next series that gets added takes clWhite. So short of going back and changing it after all the other series are cr...

Why is my debugger so slow?

Since some time, my Delphi debugger became much slower than I was used to before. I noticed this in both Delphi 2007 and 2009, so it seems it's something outside of Delphi itself... What causes this behaviour, and how can I prevent this? ...

Why can't Indy 10 initialize?

I have a problem with a Delphi 2009 project : It can't initialize Indy 10 ! This code worked fine before in Delphi 2007 (although we might have been using an older revision of Indy, but I suspect that has not much to do with it); The initial call to IdWinsock2.InitializeWinSock(), raises this exception (with error code 998) : Project E...

Start program on a second monitor?

Is there a way to specify which monitor a application appears on in Delphi or C++Builder? I am developing a simple program for a customer, which displays kitchen orders on a secondary monitor, generated by a hospitality system. Currently they need to manually drag the window onto the second monitor after it starts. ...

"Rename control" in Delphi 7?

Following up on this question, I'm working on a large Delphi 7 codebase which was not written very nicely. I'm looking at code like this, as a small example: if FMode=mdCredit then begin Panel8.Caption:='Credit'; SpeedButton3.Enabled:=false; SpeedButton4.Enabled:=false; SpeedButton5.Enabled:=false; SpeedButton5.E...

Migrating a Delphi 7 application to .NET

Any advice on how to migrate an existing Delphi 7 business application to .NET 2.0 in Visual Studio 2005? Visual Studio 2005 has already been purchased, the company want to move away from the Borland/Codegear tools. The application is a single client server executable, utilitising a number of 3rd party UI controls and Crystal reports...

How can I capture modifier keys while starting a Delphi app to force some behavior

I'm writing an application in Delphi which uses an SQLite3 database. I'd like to be able to start the application while holding some modifier keys, such as CTRL + SHIFT, to signal reinitialization of the database. How can I capture that the application was started while these keys were held? ...

Text to speech in Vista

I did it by creating OLE object with Delphi in 2000/NT/XP as following: Voice := CreateOLEObject('SAPI.SpVoice'); Voice.speak(...) But this does not work in Vista, how can I make my program simply speak some text in Vista? ...

How to detect the printer model?

Hi! When I plug my HP Laserjet 3015, Windows detects the correct model and then tries to install the appropriate drivers. How can I detect the model of connected printer(s)? I don't want to use the list of installed printers because a Zebra printer can be installed with a Generic/Text only driver. I'm a Delphi and C# programmer, so an...

Setting a DBGrid column format in Delphi

I am using a DBGrid component in delphi. I wonder how I can set the format of a column. I have real values that I want to be displayed as currency in the grid. Someone knows how? ...

Stand-alone report preview through RDC/ActiveX Crystal Reports XI

I'm porting an application from Crystal Reports 8 to Crystal Reports XI in Delphi 5, using the RDC/ActiveX interface. In Crystal Reports 8, I was able to bring up the crystal reports default report viewer window for a report like so: RptInvoicing.Destination := 0; // To: window RptInvoicing.Action := 1; // Execute However, this does ...

Why doesn't Google index some words on page?

I've created a program in Delphi that uses Google's AJAX Search API to evaluate search phrase occurrences on specific sites, mine included. What surprised me was it doesn't appear Google is indexing some words on my pages, or I am forming my search queries via the API incorrectly. For example the search site:www.delphi.org -"delphi p...

SSL Issues with IntraWeb - Delphi 2007

I've been trying to SSL working on my IW program for the last little while and I keep running up against the 'Could not load SSL Library'. I've followed every piece of advice I could find on the subject, but still no joy. I've tried the suggested DLLs in both the local directory and in system32. Does anyone have a definitive answer abou...

Managing Projects - What do you think about AxoSoft OnTime?

I am wondering what is your experience with AxoSoft OnTime issues tracking and project management solution in case you have ever used it (pros and cons)... Cheers, B. ...