REQUEST
Can anyone point me to a current example of a compounnd/composite
component? I'm having difficulty creating one and it would be nice to
look at an example.
BACKGROUND
I'm new to Delphi, trying to migrate my company from vb6 to Delphi 7.
PROGRAM GOAL
I'm working on a program that displays a prompt to the user (picture,
letter, or paragraph) and then lets the user resond from a variety of
modalities (text box, list box, multiple list boxes, etc.).
STRATEGY
So, I'm trying to create a composite component made up of several other
components (list box or a text box, or several list boxes, etc.).
The idea is to insulate the program from the components which can change
(encapsulating the changing components).
However, I'm having trouble getting this to work right.
I'm using a FRAME control and adding an event to it and then deriving
two other FRAMES from it (Frame_fill_in and Frame_multiplechoice).
I then create the desired
I think this is the ABSTRACT FACTORY OO Design Pattern (if I'm
understanding that pattern correctly.
WHAT I'VE TRIED
CUSTOM CONTAINER PACK 5
I'm trying to create a composite component.
I downloaded the CC5 (Custom Containers Pack 5 for Delphi 5) from:
http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=13985
However, the instructions just say "install it into the IDE". When I
try to install it as a package, I get an error that "vd50.bpl" was not
found". I'm very new to Delphi, so I'm completely lost. Not sure if
the CC5 is just "broken" or if I'm not installing it right (quite
possible since there aren't instructions) or something else.
SEARCHING FOR EXAMPLES
I tried searching for examples. Nothing current.
-Clay
If it was C++Builder I could tell you the changes to make but I don't use
Delphi often enough to guess the names correctly.
--
Malcolm Smith
MJ Freelancing- http://www.mjfreelancing.com
Software Protection for C++Builder
Borland Technology Partner
"Clay Nichols" <cnicho...@yahoo.com> wrote in message
news:MPG.1934d64d5...@newsgroups.borland.com...
Malcolm Smith wrote:
> The problem with your download is that it was built using D5. You need to
> edit the project file to update it to D7 (for the libraries).
>
> If it was C++Builder I could tell you the changes to make but I don't use
> Delphi often enough to guess the names correctly.
>
>
change all the "50"s to "70"s (delphi 5.0 to delphi 7.0)