Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Event
Fri, Jul 5 2013 4:14 PMPermanent Link

Ronald

Hi,

I have a created a component with the event Tell:

TMCell = class(TCell)
private
FTell           :TNotifyEvent;
public
protected
property Tell:TNotifyEvent read FTell write FTell;
end;

If I create an instance of TMCell and set the property Tell, the compiler
tells me the property does not exist.
What am I missing?

Thanks,
Ronald
Sat, Jul 6 2013 3:51 AMPermanent Link

Matthew Jones

"Ronald" <rvdpas@SPAMgmail.com> wrote:
> Hi,
>
> I have a created a component with the event Tell:
>
> TMCell = class(TCell)
> private
> FTell           :TNotifyEvent;
> public
> protected
> property Tell:TNotifyEvent read FTell write FTell;
> end;
>
> If I create an instance of TMCell and set the property Tell, the compiler
> tells me the property does not exist.
> What am I missing?
>
> Thanks,
> Ronald

If that code is copied, which would be good, then you have put the property
in a protected section so it is not public.

--
Matthew Jones
Image