| View previous topic :: View next topic |
| Author |
Message |
Jialing Guest
|
Posted: Wed Aug 27, 2003 5:07 am Post subject: How can I define a Property same as Caption in MyComponent |
|
|
Hi to all
I write a Component. One of its Published Property is Title.
I want set Title when user is writing Title in ObjectInspector
(Same as Caption) now the Title is set after writing.
(after Enter or Exit from corresponding location)
|
|
| Back to top |
|
 |
Peter Agricola Guest
|
Posted: Wed Aug 27, 2003 6:51 am Post subject: Re: How can I define a Property same as Caption in MyCompone |
|
|
add paAutoUpdate to the returnset of your GetAttributes() method.
Peter
"Jialing" <Jialing (AT) yaho (DOT) com> schreef in bericht
news:3f4c3c9e (AT) newsgroups (DOT) borland.com...
| Quote: |
Hi to all
I write a Component. One of its Published Property is Title.
I want set Title when user is writing Title in ObjectInspector
(Same as Caption) now the Title is set after writing.
(after Enter or Exit from corresponding location)
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed Aug 27, 2003 8:14 am Post subject: Re: How can I define a Property same as Caption in MyCompone |
|
|
"Peter Agricola" <spammy (AT) spammer (DOT) com> wrote
| Quote: | add paAutoUpdate to the returnset of your GetAttributes() method.
|
To clearify, GetAttributes() is a method of TPropertyEditor, not the actual
component.
Gambit
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com)[/url].
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/03
|
|
| Back to top |
|
 |
|