Questions tagged [object-inspector]
12 questions
11
votes
1 answer
What does an asterisk in the Object Inspector mean?
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…

Wouter van Nifterick
- 23,603
- 7
- 78
- 122
5
votes
1 answer
Why some properties are hidden from Object Inspector when more than one item is selected?
I've noticed that some properties disappear from the Object Inspector when selecting more than one item.
Why does this happen and how to control this behavior when creating a component?
Example:
Add 2 buttons (TButton) to a form and select one of…

Fabrizio
- 7,603
- 6
- 44
- 104
1
vote
0 answers
How to register a TCollectionItem property editor as a list of objects in the object inspector?
I have a collection published in a component and I would like to be able to choose a collection item in the object inspector without using the method of saving the item's index.
I have already published the property of type to item…

AnselmoMS
- 467
- 3
- 18
1
vote
3 answers
How to use sLineBreak from the object inspector?
Currently, I'm setting a string which contains sLineBreak constant as value for the Caption property of a TLabel control.
MyLabel.Caption := 'A' + sLineBreak + 'B';
sLineBreak is defined in System.pas as follows (Delphi 2007):
const
…

Fabrizio
- 7,603
- 6
- 44
- 104
1
vote
0 answers
How to set another class as property of a TComponent's descendant class
I'm defining my first components and I would like they can be configured using a TMyOptions class instance.
TMyCmp = class(TComponent)
protected
FMyOptions : TMyOptions;
...
published
property MyOptions : TMyOptions read FMyOptions write…

Hwau
- 850
- 3
- 12
- 23
1
vote
0 answers
How can I add a property on Form and see it on object inspector?
I read in some articles but nothing helped me. I tried put on my Form the property as published and I tried use the procedure Regiter and RegisterCustomModule, but nothing was resolved.

Felippe Tadeu
- 43
- 5
0
votes
0 answers
When using "Trace Into" in Delphi Community edition, it does not show properties in the Object Inspector
I'm using Delphi Community edition 10.4 and I'm trying to find an error in my code. I have used Delphi 7 where if you use "Trace Into" it helps you find your error.
When using the Community edition, it shows me a bunch of random code and when I…

Resets
- 1
0
votes
1 answer
How do I register the property editor "TJvDefaultImageIndexProperty" in C++ Builder?
I have an ImageIndex property of the type TImageIndex. I need to register the property editor TJvDefaultImageIndexProperty to get a nice list of images to select from in the object inspector.
The only example I can find is for…

Max Kielland
- 5,627
- 9
- 60
- 95
0
votes
1 answer
Delphi 7 - Changing font sub-property is not updating component
I'm having problems in design time with a StringGrid I've made. When a property called "Header" is changed, the Invalidate method works fine and the Grid is repainted in design-time. However, when a sub-property Font is added, the Grid does not…

Felipe Morais
- 155
- 2
- 12
0
votes
1 answer
How to get the field name of a primitive object inspector in java
I am trying to solve this problem for an UDF I am creating for hiveql environment.
public ObjectInspector initialize(ObjectInspector[] arguments)
throws UDFArgumentException {
if (arguments.length != 1) {
throw new…

LSG
- 127
- 1
- 12
0
votes
0 answers
How to focus a visual .NET-Component in Delphi ObjectInspector
I'm including a visual .NET-Component into a Delphi Project. Using this component at runtime works fine while the Delphi designer does not cooperate properly. Every click on this component in the designer sends a message to the component itself (the…

Florian Grummel
- 332
- 3
- 14
-1
votes
2 answers
Access DataModule's event from another Form (delphi design-time)
I would like to know if there's any way to link a component's event (As TButton.OnClick) to a procedure defined in a datamodule (At design-time).
At the moment, I'm doing this at runtime:
MyButton.OnClick := MyDataModule.MyOnClickEvent;
The goal…

Hwau
- 850
- 3
- 12
- 23