Try calling RecreateWnd within the component. That will force your component to create a new window which means it will call CreateParams again and get the new params.
David. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Ross Levis > Sent: Monday, 1 September 2003 4:58 PM > To: Multiple recipients of list delphi > Subject: RE: [DUG]: Button Caption > > > Todd Martin wrote: > > Call Refresh() > > Mmm, that doesn't work, perhaps because it's the CreateParams procedure > that's being overridden and the component is not being re-created in a > refresh. Any other possibilities? > > Ross. > ------------------------------------------------------------------ > --------- > 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/ --------------------------------------------------------------------------- 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/
