If you do SQLStrings.Text := 'blah';
Then you are setting the .Text property of SQLString, not SQLStrings itself. TStringList has an OnChange event which you can set and then call your sql changed stuff. Stacey -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert martin Sent: Wednesday, 24 May 2006 10:21 To: NZ Borland Developers Group - Delphi List Subject: [DUG] Comopnent question Hi Heres a real simple one but its driving me mad.... I have a component with a TStrings published property as follows. property SQLSearchString : TStrings read fSQLStrings write SetSQLStrings; However whenever I change the .Text property of the TStrings the SetSQLStrings does not seem to fire. I'm no component guru, what am I doing wrong ? Rob Martin Software Engineer phone +64 03 377 0495 fax +64 03 377 0496 web www.chreos.com Wild Software Ltd _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
