Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Adding a TToolButton dynamically?

8 views
Skip to first unread message

Andrea Raimondi

unread,
Dec 8, 2006, 6:55:02 AM12/8/06
to
Hello,

using Turbo Delphi.NET explorer, I want to add several dynamic
TToolButton instances but I can't seem to understand how to do it.

Any directions?

TIA,

Andrew

Andrea Raimondi

unread,
Dec 8, 2006, 12:27:23 PM12/8/06
to
This code works:

var ToolBtn : TToolButton;
begin
ToolBtn := TToolButton.Create( Self );
ToolBtn.Parent := Self;
end;

0 new messages