Arun Jyothy wrote:
I am writing a component in borland c++. One of the properties of this component is a TStringProperty value. I am not able to create an object of this class.
Are you sure the property isn't supposed to just be an AnsiString?
I have the TComponent object but it is expecting IDesigner object. How to create IDesigner object from TComponent object. Can any one tell me the reason?
You don't create an IDesigner object. Instead, you use the one that the IDE creates by accessing the Form.Designer property. Of course, that property is only assigned while the form is open in the Form Designer. It's not assigned while the program is running, which is a strong indication that you're not supposed to use TStringProperty in your components. You're only supposed to use it if you're writing a property editor, which is something that only resides in a design-time package.
-- Rob _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

