Reader small image

You're reading from  Getting Started with Lazarus IDE

Product typeBook
Published inFeb 2013
Reading LevelIntermediate
PublisherPackt
ISBN-139781782163404
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Roderick Person
Roderick Person
author image
Roderick Person

Roderick Person has a varied background in the corporate IT field. For the last 14 years he has been a programmer for one of the top ranked health systems in the United States. He is experienced with developing applications in Delphi, Free Pascal, Python, SQL, and other languages. He is also an advocate of leveraging open source applications in corporate environments.
Read more about Roderick Person

Right arrow

Summary


In this chapter, we learned how to create a new Lazarus package and add a new component to that using the New Package dialog window to create our own custom component, TMessageLog. We also learned about compiling and installing a new component into the IDE, which requires Lazarus to rebuild itself in order to do so. Moreover, we discussed component properties. Then, we became acquainted with the events, which are triggered by any interaction that a user has with a component, such as clicking it, or by a system response, which could be caused by the change in any component of a form that affects another component. We studied that Events are properties, and they are handled through a technique called delegation. We discovered the simplest way to create an event is to create a descendant of TNotifyEvent—if you needed to send more parameters to an event and a single parameter provided by TNotifyEvent, then you need to declare a method pointer.

We learned that property editors are custom...

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Getting Started with Lazarus IDE
Published in: Feb 2013Publisher: PacktISBN-13: 9781782163404

Author (1)

author image
Roderick Person

Roderick Person has a varied background in the corporate IT field. For the last 14 years he has been a programmer for one of the top ranked health systems in the United States. He is experienced with developing applications in Delphi, Free Pascal, Python, SQL, and other languages. He is also an advocate of leveraging open source applications in corporate environments.
Read more about Roderick Person