Solved

How to I add a component at runtime

Posted on 1998-06-10
1
141 Views
Last Modified: 2010-05-18
How to I add a component at runtime in Delphi 2.0
0
Comment
Question by:koger
1 Comment
 
LVL 2

Accepted Solution

by:
rene100 earned 50 total points
ID: 1351999
hi koger

this is an example how to create a new button (TButton):

var
NewButton: TButton;
begin
NewButton:=TButton.Create(Self)
NewButton.Parent:=form1;
NewButton.width:=100
.
.
NewButton.show;
end;

hope this helps

rene
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now