delphi-2007

Changing the console size...

Simple problem in Delphi. I've created a console application and I need to change the height of the console window to 80 lines, if it's less than 80 lines. This need to be done from code and is actually conditional within the code. (I.e. when an error occurs, it increases the size of the console so the whole (huge) error report is visibl...

Sharing a project between two versions...

Delphi is a great IDE and compiler. But sometimes it also has a few minor flaws. Like my problem right now... I am working on a project that's created in Delphi 2007. But I like to use Delphi XE simply because the IDE has some interesting features and it happens to be more stable on my computer. So I opened the project in Delphi XE and h...

How to convert Together Support UML to generic UML

My problem is a simple one. I've created a class library for Delphi 2007 and added the modelling support to it that Delphi offers. It generates nice class overviews of my code, which I'd like to use. But it's not enough. I want to export the generated UML to Altova's UModel to generate some additional documentation and nicer-looking mode...

How to access the search text in a TCRDBGrid component?

Is there a way to access the text entered in a Devart (Core Lab) TCRDBGrid search bar? I tried implementing the OnKeyDown event but the event didn't happen during entry in the search fields, only when the grid itself was selected. There are no other events that look relevant. The text appears to go into a TEdit which is part of a TCRGr...

Delphi Get the handle of a directory

Using Delphi 07 is it possible to (How do I) get the handle of a directory if I know its path? ...