 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Nathan Guest
|
Posted: Tue Nov 25, 2003 9:54 pm Post subject: Sub Component |
|
|
Hi,
I have a TPanel descendant with an encapsulated TEdit and TDBGrid. The edit
and grid both get created dynamically at design/run time. I have exposed a
property of the TEdit as a READ only property in the TPanel descendant with
appropriate GET method. Everything seems to work fine in the designer. I
can set the property and the control responds visually to the change.
However, the change is not saved and does not show up when I run the
program.
It seem to remember that I have to do something to make this happen, but
can't remember what it is...
Thanks in advance,
Nathan
|
|
| Back to top |
|
 |
Maris Janis Vasilevskis Guest
|
Posted: Wed Nov 26, 2003 12:18 am Post subject: Re: Sub Component |
|
|
In your panel constructor:
FEdit.SetSubComponent(true);
Mahris
Nathan wrote:
| Quote: | Hi,
I have a TPanel descendant with an encapsulated TEdit and TDBGrid. The edit
and grid both get created dynamically at design/run time. I have exposed a
property of the TEdit as a READ only property in the TPanel descendant with
appropriate GET method. Everything seems to work fine in the designer. I
can set the property and the control responds visually to the change.
However, the change is not saved and does not show up when I run the
program.
It seem to remember that I have to do something to make this happen, but
can't remember what it is...
Thanks in advance,
Nathan
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|