Thursday, June 22, 2006

Themed TDBGrid descendant - TThemeDBGrid

I've uploaded a component to CodeCentral that draws a TDBGrid descendant as themed (when used within a themed application).

You can download this component and sample application from CodeCentral here.

Also includes a new property AllowTitleClick which allows you to enable/disable the visual nature of clicking on a column title.

Bug reports and Feedback welcome.

Full source and no license terms are applicable for this component.

If only DrawMove and DrawSizingLine where virtual.


Title Column Hot

Title clicked when AllowTitleClick is True

AllowTitleClick False and Column Moving disabled

IDE AddIn - Putting focus in the Code Editor by using a keyboard shortcut

One of the most annoying things that happened when Borland Developer Studio first shipped was that when returning from a debugging session the Code Editor didn't have focus.

This was rectified in Update 2 although reseting your running application (Ctrl+F2) still doesn't reset focus back to the Code Editor.

I have always wished for a shortcut to set focus to the Code Editor (as much as I like the F12 and F11 dance) and because of the oversight with the initial BDS 2006 release I decided to do something about it. Using some code from my Bookmark Viewer Add In (its on CodeCentral for those interested - with source) I've created an IDE Add In that sets the focus to the Code Editor when I press Ctrl+ALT+E.

Source is included so you can modify the shortcut used if you want.

You can download this Add In with source from here. Please adhere to the license conditions.

If the Welcome Page is active then pressing the shortcut does nothing. A unit must be selected for the Units code editor to receive focus.

Wednesday, June 21, 2006

Visual Forms - Delphi 7 and Delphi 2005 support now available

Visual Forms 1.1 is now available.

This upgrade includes support for Delphi 7 and Delphi 2005.
You can now also change the alignment of the toolbar and have more control over the layout of the thumbnails.


Delphi 7



Delphi 2005

Visual Forms website