Delphi Object Inspector

Posted on  by admin
Inspector

Jul 3, 2015 - The Object Inspector is the connection between the visual appearance of your application, and the code that makes your application run. Delphi Object Inspector, free delphi object inspector software downloads, Page 3. Torry's Delphi Pages. Object inspector looks and works like Delphi's one and now has BDS style with support of property categories, gutter.

Shortcut

In Delphi's object inspector, I see an asterisk behind a property name ( ConnectionName.): How does it get there, and above all: what does it mean? In the sourcecode for TMySQLConnection I don't see anything special, so I guess it's some design-time thing?

Update It has something to do with the contents of the TSQLConnection. To reproduce, paste the code below on a form. After some playing around, I conclude that the asterisk appears when the Params property gets edited so that it doesn't have the default values any longer. It's still a mystery to me how this is achieved though. Object SQLConnection1: TSQLConnection ConnectionName = 'MySQLConnection' DriverName = 'MySQL' LoginPrompt = False Params.Strings = ( 'DriverUnit=Data.DBXMySQL' 'DriverPackageLoader=TDBXDynalinkDriverLoader,DbxCommonDriver190.' You have appeared to have reverse engineered the meaning of the asterisk. Since I guess you have no source for the design time component code you'll need to rely on such reverse engineering, or any documentation that you can find.

Delphi Object Inspector Component

In the comments you wonder how the component could cause the Object Inspector to display the asterisk. In order to do so the component would register a property editor that overrides TPropertyEditor.GetName.

By doing so it can return any name it fancies and the Object Inspector will faithfully display that name. To illustrate I've taken one of my own property editors, and hacked it around like so: type TMinMaxGridColumnProperty = class(TFloatProperty) public function GetName: string; override. End; function TMinMaxGridColumnProperty.GetName: string; begin Result:= inherited GetName + '.'

Delphi Object Inspector

; end; And now the properties that are served by this property editor appear like this in the Object Inspector: So it seems almost certain to me that this is how the component you are working with is effecting this. The design time code will use the state of the component to determine whether or not to append the asterisk.