[Lazarus] [lazarus-br] Re: Como passar uma procedure local como callback?
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Tue Feb 21 02:53:53 CET 2012
waldo kitty schrieb:
> On 2/20/2012 10:59, Everton Vieira wrote:
>> Has been felt need for examples in the documentation.
> not only should these examples be in/on the wiki, but they should also
> be in the offline local documentation... offline local documentation
> being the most important (IMhO)...
There exists an examples directory in your Lazarus installation.
While RTL and FCL topics can be demonstrated in simple console
applications, LCL topics usually require big sample applications. See
how e.g. examples/listview/listview.lpi demonstrates the capabilities of
a TListView.
About things like callback functions, which are common to many
components, there should exist references to examples that *also*
demonstrate such features, amongst possibly many others.
Just an idea: It could help to "tag" the existing examples with
keywords, so that a search in the examples directory could reveal all
applicable examples. A keywords.txt or <project>.keys file in every
subdirectory could be used for tagging, for a global search in the
examples. A list of "registered" keywords could be kept in another file,
e.g. in examples/tags.txt.
DoDi
More information about the Lazarus
mailing list