Another custom component question Why don't you simply create two components?
----- Original Message ----- From: [EMAIL PROTECTED] To: Multiple recipients of list delphi Sent: Friday, November 14, 2003 9:14 AM Subject: [DUG]: Another custom component question Hi all I drop my custom TTable component on a form and I assign it a table name on the object inspector. If I choose to name it, Policy, then I would like certain methods to be exposed when I type "Policy." However, if I name my table, Adviser, then when I type "Adviser." in code, I don't want the policy methods to appear. At the moment all existing methods appear. Is there a way to do this at design time, so if the user gives a table name of Policy, it then unhides certain methods? Thanks. Dave Jollie Developer, TOWER NZ IT (: 09 368 4259 J: 09 306 6801 *: [EMAIL PROTECTED] .: 46 Parnell Rd, Parnell, Auckland --------------------------------------------------------------------------- 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/