Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Components Writing > Writing compone...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 71 of 155
Post > Topic >>

Writing components with TCollection properties (problem)

by liron2k@[EMAIL PROTECTED] (LY) May 25, 2004 at 07:18 PM

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
 




 2 Posts in Topic:
Writing components with TCollection properties (problem)
liron2k@[EMAIL PROTECTED]  2004-05-25 19:18:28 
Re: Writing components with TCollection properties (problem)
Jamie <jamie_5_not_val  2004-05-29 16:00:20 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 5:58:16 CDT 2008.