You might like to look at the ComponentState property of TComponent. It will have a flag called csDesigning set if the component is being manipulated by the form designer (i.e. is at Design Time)
HTH, Conor -----Original Message----- From: Allan, Samuel [mailto:[EMAIL PROTECTED] Question Two: How can I have my properties do different things when they are set in design and run time? What I want to do is prevent people from changing specific property values in run time, but let them set the properties to whatever they want in design time. --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
