Archive for June 2010

JSDialog Pack 2.0.001

A new version of JSDialog Pack is now available. Users with valid maintenance should have already received their copy a few weeks ago.

More details can be found on the website: http://www.jed-software.com/.

QC Plus 1.1

A new version of QC Plus is now available for download.

I suggest you have a read through the “What’s Changed” document.
Download

Visual Forms 2.0 Features #2 (Enhanced View Units dialog)

Visual Forms 2.0 includes a replacement for the existing View Units dialog.

In more recent Delphi releases, the View Units dialog has seen some enhancements. What Visual Forms does is expand on these recent enhancements (there is no loss in current functionality) and then raises the bar a couple of notches.

Here is a screen capture from the Delphi 2007 version of the View Units dialog.

View Units - Delphi 2007

Here is the Visual Forms 2.0 version of the View Units dialog.

View Units - Visual Forms

Visual Forms has also taken over the Ctrl+F12 shortcut used for this dialog.

View Units - Visual Forms Menu Item

Apart from the obvious enhancements (it shows a preview of the form in the dialog while navigating it), it also supports sub string filtering and being able to display units across all files in the current project group.

Sub String Filtering

The sub string filtering is really the killer feature here and it doesn’t exist in ANY of the current Delphi versions.

View a short video (20 seconds) of the feature in action.

This feature came in very handy recently when I knew I had to make a change to an “attachment” form in QC Plus but couldn’t recall the unit name. Typing and looking at the form previews saved we valuable time.

Support for all Delphi versions

This feature is available for all versions of Delphi that Visual Forms 2.0 supports. This means Delphi 5 to Delphi 2010 (except Delphi 8).

Future Visual Forms versions will see this new feature improved significantly. That is why there is a blank space to the right of the search box!

Snag It 10

Has anyone else recently upgraded to Snag It version 10 and noticed that most times a TButton won’t capture correctly. Look at the OK button in the first capture. The finally provide transparency and fix the zoom bug, but unfortunately capturing a button is now hit or miss.

Visual Forms 2.0 Features #1 (Replacement Captures)

This is the first in a series of post that will highlight the new features found in Visual Forms 2.0.

Support Replacement Captures in all IDE Versions

This feature first appeared in the Delphi 2009 release and then the Delphi 2010 release. It has now filtered down to support all IDE versions and has also been enhanced.
Replacement Captures is a feature that allows you to replace a captured form with an alternate image.

Some reasons why you might want to replace an automatically captured form with a different image:

  • You create your form content dynamically.
  • You use visual inheritence and the form doesn’t change much through each inheritance layer.
  • You want a form to be more prominent in the viewer.

How to replace the default capture

  1. To create a replacement take a screen capture of the image you want to replace the default capture with. There needs to be an image on the clipboard before the Replace command items are enabled.
  2. Select the default capture in the Visual Forms viewer to replace.
  3. Visual Forms 2.0

  4. Choose the Replace… menu item from either the Refresh drop down menu on the toolbar or from the viewers context menu.
  5. Visual Forms 2.0

  6. The image on the clipboard is displayed. To use the image displayed, click on the OK button.
  7. Visual Forms 2.0
     

When you have replacement forms in the current project you can identify them easy because a small yellow star is painted over the capture in the top left hand corner in the viewer.

Visual Forms 2.0

If refreshing your captures (using Refresh All) and you have replacements active, you are prompted on what to do about your replacement captures. You can choose to override any replacements or keep them.

Visual Forms 2.0

Likewise if you refresh a capture that is a replacement, you will be prompted before the replacement is overwritten.

You can also clear all of the replacements used in your project by using the Clear Replacements button available in the Options | Project section. The project section is only visible when there is a current Visual Forms enabled project opened in the IDE.

Visual Forms 2.0

These captures were created using the Delphi 2007 version of Visual Forms running under Vista.