lazarus/examples/stock_images
2009-05-08 01:30:34 +00:00
..
project1.ico examples: add an example to traverse stock images 2009-05-03 13:03:24 +00:00
project1.lpi examples: fix lpi to use default widgetset 2009-05-03 13:07:17 +00:00
project1.lpr examples: add an example to traverse stock images 2009-05-03 13:03:24 +00:00
project1.lrs examples: add an example to traverse stock images 2009-05-03 13:03:24 +00:00
project1.manifest examples: add an example to traverse stock images 2009-05-03 13:03:24 +00:00
project1.rc examples: add an example to traverse stock images 2009-05-03 13:03:24 +00:00
readme.txt examples: add readme.txt for stock icons example 2009-05-08 01:30:34 +00:00
unit1.lfm examples: improve stock images example 2009-05-03 15:00:24 +00:00
unit1.lrs examples: improve stock images example 2009-05-03 15:00:24 +00:00
unit1.pas examples: improve stock images example 2009-05-03 15:00:24 +00:00

This example allows to traverse stock images which can be requeted from LCL.

There are 2 kind of such images:

1. Dialog icons. They are used mostly by MessageDlg. If underlying widgetset
   has own stock icons LCL will use them in other case LCL provides own default
   icons. LCL does not have defaults for all images. Only those images which are
   used by MessageDlg have defaults in LCL.

2. Button icons. They are mostly used by TBitBtn control. For every Kind except bkCustom
   LCL has default stock image which is used in the case when widgetset does not has own.
   There are more stock images than kinds of TBitBtn. For example you can request stock
   Save or Open button icon and in case widgetset = gtk or qt you will get it.

Next thing shown by this example is how to get caption for stock image.