Thanks for the replies - sorry to be asking such basic questions, this is
the first time Ihave stepped into this level of coding.

JohnB 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: 14 September 2006 13:34
To: [email protected]
Subject: Re: Can you help a component writer newby (John Barrat)

John

these properties don't have setters
each of them must have a write
like
property _OnError: TCtrlErrorEvent read F_OnError write F_OnError

    property _OnError: TCtrlErrorEvent read F_OnError;
    property OnDataReceived: TDataReceivedEvent read fOnDataReceived;
    property OnConnect: TNotifyEvent read fOnConnect;
    property OnStatusChanged: TStatusEvent read fOnStatusChanged;
    property OnTXBuffEmpty: TNotifyEvent read fOnTXBuffEmpty;


I'll go through the rest later when I get more time.
Make sure that F_OnError : TCtrlErrorEvent  is defined in your private
section

Mick

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to