Hello Chris, You answered my question below. Ho Hum, its back to the If then Else; what a drag!! Thanks 4 help. Al+ CM> More thoughts... CM> If you are trying to find a particular object then you will be out of luck as the items in a case statement have to be constants. IMHO stick with if-else for this sort of thing.
--------------------------------------------------------------------------- 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/