Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-01

Initial value for procedure of object

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

dmitry boyarintsev
to xrfang

Every field is set to nil or 0 at the time of object construction. You don't have to set it to nil explicitly.

thanks,
Dmitry

xrfang wrote 22 lines
Hi, If I define a class like this: TMyClass = class(TWinControl) private FOnClick: TNotifyEvent; ... end; What is the initial value of FOnClick? Do I have to set it to nil explicitly in the constructor? Thanks, Shannon -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email