Hi,
I've been writing a component which has a property whose type is
TCommands (a class I created derived from TCollection) and TCommands
holds TCommand objects (derived from TCollectionItem). Everything
works fine, until I tried using the component on another computer.
Both computers have Delphi 7. The problem with the component on the
other computer is that when I go to modify the TCommands collection
and I try adding new TCommand objects, the value of all of the
properties that are of type string show up as '(unknown)' (without
quotes) in the object inspector. When I go to change those properties
it still shows '(unknown)'. But I know it is modifying those
properties because at run time when I read them it uses the actual
values that I typed. This is very weird because it only happens with
properties that are of type string. I have another property of type
Intger which works fine on both computers.
Any ideas?
Thanks