Delphi 2009 Handbook




Delphi 2007 Handbook




Essential Pascal




social web book








November 10, 2009

Getting Rid of Description Pane in Delphi 2010

There is a "feature" of Delphi 2010 that I don't stand, the new Description Pane of the Object Inspector.

There is a "feature" of Delphi 2010 that I don't stand, the new Description Pane of the Object Inspector. Don't take me wrong, I'm impressed by the improvements of the product and haven't even opened Delphi 2009 in a few months now. There are many improvements and I really recommend moving to Delphi 2010. But there are also a few things I don't like (but I do have a fix, though).

This is a small area at the bottom of the Object Inspector offering a description of the selected property (like it happens in Visual Studio, I guess). However, there is no description ever displayed, only an empty area with the property name repeated, like you can see at the bottom of the Object Inspector for the Caption property of TButton:

You might start looking for a way to get rid of it. There is no option. Nothing to right click. Nothing in the detailed Options page of the Object Inspector. What about making is smaller by dragging the slider at the top? YOucan end up with only half a line. Better, but quite ugly:

The solution? There might be a hidden registry setting or something, I ended up writing some code in a design time package to locate the Object Inspector (which is the form called 'TPropertyInspector'), select its 'DescriptionPane' component, and forcing its height to 0. The effect is the pane is now totally gone:

Out of the dozens of great new features in Delphi 2010 (many of which I mentioned in this blog and other have covered in details) this one is rather annoying. It is another half-done help mechanism, much like Help Insight. We badly need improved help in Delphi, not only by having complete help files (I still keep my fingers crossed for those), but providing better integration with the IDE. This Description pane and the Help Insight are tools going in the right direction. Too bad that comments in the new areas of DataSnap and dbExpress don't follow Help Insight own conventions as they started doing in Delphi 2007. At times I think this side of Delphi is somewhat helpless... but still hope to be proved wrong.

In any case, getting back to the main topic of this blog post, if you use Delphi 2010 and want to get rid of the Description pane you can add to a design time package the unit available as NoInspectorDescriptionPane.pas.





 

8 Comments

Getting Rid of Description Pane in Delphi 2010 

Fully agreed on the Help Insight part.
This Description Pane thing could actually be useful -
if it was fed with information from the docs, like in
the WinForms designer in VS.
Comment by Moritz Beutel on November 10, 20:05

Getting Rid of Description Pane in Delphi 2010 

Above this area of Object Inspector also you can see 
context menu items of components that have it. This 
area also disappears with this "hack"?
Comment by Marcos E. Yanes on November 10, 22:43

Getting Rid of Description Pane in Delphi 2010 

Thank you Marco.
Comment by delphigeist [http://delphigeist.blogspot.com/] on November 10, 23:17

Getting Rid of Description Pane in Delphi 2010 

Just curious - could you not have set it's Visible 
property to FALSE instead?

I don't see much point in this feature at all - the 
amount of space available isn't enough to put a 
meaningfully helpful description of all but the most 
trivial (and self-evident) properties, and increasing 
the area available to make it useful would sacrifice too 
much real-estate in the object inspector itself.

A hover-hint/tool-tip would be a better way to implement 
this sort of feature, surely?
Comment by Jolyon Smith on November 10, 23:25

Getting Rid of Description Pane in Delphi 2010 

You can "remove" the context menu pane with the same
code as used for the description pane; the pane has
the name "HotCommands".
Comment by Dave Nottage on November 10, 23:50

Getting Rid of Description Pane in Delphi 2010 

If the Help were opened up in some way, we (user
community) could start putting things back manually
from older versions. And adding things of our own.
Comment by Ken Knopfli on November 11, 12:19

Getting Rid of Description Pane in Delphi 2010 

Don't know exactly 'cause I've only installed D2009, 
but isn't that pane supposed to be the status bar of 
the Object Inspector?

I may be wrong but I can switch off this by menu 
Tools->Options->Environment Options->Object Inspector-
>(Options) Show Status Bar.

Michael
Comment by Michael [http://www.velypse.com] on November 11, 14:24

Getting Rid of Description Pane in Delphi 2010 

I agree this Pane seems to be existing there since
ages without any productive use.

But instead of getting rid of it can't we make Object
Inspector show some description of the selected
property? I think this will be more better!
Comment by Yogi Yang on November 11, 16:16


Post Your Comment

Click here for posting your feedback to this blog.

There are currently 0 pending (unapproved) messages.