[lazarus] Forwarded from private email
SMiller1 at stvgb.org
Mon Apr 10 10:51:07 EDT 2000
Pull from CVS again and try it.
TEdit didn't have OnChange as a property that was published so you were inheriting it from TCustomEdit which had it as protected.
>>> mhess at miraclec.com 04/10/00 08:40AM >>>
Please help me: How I can to add a event ONCHANGE to TEdit?
ppc386 tells me, that: "can't access a protected field of an object
but if I tell him do ONCLICK -- all right.
here a codemodel, which I using:
procedure edt1chg(sender : tobject);
procedure edt1clk(sender : tobject);
edit.onchange:=@edt1chg; // <-= here error
edit.onclick:=@edt1clk; // all right
==== Programming my first best destiny! ====
Michael A. Hess Miracle Concepts, Inc.
mhess at miraclec.com http://www.miraclec.com
To unsubscribe: mail lazarus-request at miraclec.com with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus
More information about the Lazarus