All Questions
Tagged with components delphi
533 questions
1
vote
2
answers
150
views
New VCL component - Add Style using Bitmap Style Designer
In RAD Studio 12.2 C++Builder, I created a new component called TGroupBoxE derived from TGroupBox. It inherited all of the graphic properties of TGroupBox.
I want the new component to not use the ...
2
votes
0
answers
45
views
How to create a custom component for an IntraWeb application?
I want to create a custom component based on IntraWeb. I tried to create a simple component as coded below. It seems OK at design-time, but at run-time it does not appear on my page. What is the ...
2
votes
2
answers
183
views
Using FindComponent to find a control recursively
I created Layout1 dynamically.
object Layout1: TLayout
Align = Client
object Rect1: TRectangle
Align = Client
object Button1: TButton
Text = 'Test'
end
end
end
Why is it ...
1
vote
1
answer
429
views
Debugging a component at Design-time with Delphi 12 doesn't work
I can't debug another instance of Delphi anymore.
Up to Delphi 11, I can build my packages in debug, open my component .pas file and put a breakpoint in the first line of the Create procedure, then go ...
1
vote
1
answer
291
views
"Blur behind" like effect for TPanel
I want to make a TPanel with a blur effect which is like a glass effect that Windows 7 (Aero) had.
The goal is to be a visual component that shows what is behind it but blurred, which is common in web/...
1
vote
1
answer
191
views
Problem with painting with TImage. I have drawn on the TImage but it is not being painted
I have created a sample component below. There are 3 TPanels containing 1 TImage each. I want the images to paint themselves as instructed in the code. This does not happen.
If you build this ...
0
votes
2
answers
218
views
Delphi TWinControl duplicating its children at runtime
When I build this component and place it on a form, all appears fine. However, when I run the program, the control duplicates all of its children. It appears to be calling the initialize components ...
1
vote
1
answer
182
views
Problem with TWinControl component not responding to form resizing
I have a visual control written in Delphi 10.4. To make it simple to focus on the problem I created just the TwinControl with properties of Anchors and Align. I included the AutoSize property. The ...
0
votes
1
answer
170
views
Database ComboBox component whose items are loaded from the database?
Is there a database component allowing for navigating through an attached dataset with a combobox look & feel? Upon setting the DataSource, a specifiable field would be 'loaded' into the Items ...
0
votes
0
answers
154
views
Issue with Delphi FireMonkey Visual Component Integration [duplicate]
I have developed a class that I intend to use as a visual component within the Delphi FireMonkey framework. After installing the class via a package and adding the visual component to a form, ...
0
votes
0
answers
98
views
How to make a control appear as a child of my custom component in the structure window?
I'm trying to create a component (based on TFlowPanel) to act as a container for other controls.
The component will be populated with controls (based on some properties) during design-time and runtime ...
0
votes
0
answers
131
views
Does anyone know where can find the original 'SDeanComponents' for Delphi. I have tried searching Google, but without any results. Many Thanks
I am coding a newer version of a secure drive cleaner and I remember that Sarah had a comprehensive, and well written, file system component. Her site is no longer working but I guess somebody has a ...
0
votes
2
answers
648
views
Creating a component from a DLL, runtime
Decided to migrate from Delphi 2007 to Delphi 11 Alexandria. I had DLLs made with component creation from them. In the program, I dynamically load the DLL, a component is created in the DLL. Code that ...
0
votes
0
answers
157
views
Delphi DbLookupComboBox with CheckListBox
I want to create a new component in Delphi inherited from TDBLookupComboBox.
My only question is, how can I replace the control which is shown when the ComboBox is dropped down and show a ...
0
votes
2
answers
215
views
Assign Name of TWinControl component to Caption property
I'm trying to create a custom label based on TWinControl.
I'm using TWinControl because on the control there will be 2 labels and one shape.
Now, for simplicity reasons, in this example from below, I ...