Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread More than one component definition in a source file
Wed, Jul 8 2015 11:29 AMPermanent Link

A.Kyr

In Delphi i never use the given controls but an inherited set of them in order to add by the time the wanted additional functionality.
I want to do the same with the EWB2 enviroment.
Have i to create a new file for each new component or i can declare many of new components in a single file?
In the second case, how define the icon for each component?

Regards
A.Kyriakos
Athens, Greece
Thu, Jul 9 2015 12:52 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

A.Kyr,

<< Have i to create a new file for each new component or i can declare many
of new components in a single file? >>

They can all be in the same unit.

<< In the second case, how define the icon for each component? >>

It's just a .png file, so you simply add each new component using the same
unit file name, but a different component class name and icon file.

Tim Young
Elevate Software
www.elevatesoft.com
Image