RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPicture.Icon Property

Specifies the contents of the TPicture object as an icon graphic (.ICO file format).

Pascal
property Icon: TIcon;
C++
__property TIcon Icon;

If Icon is referenced when the TPicture contains a Bitmap or Metafile graphic, the graphic won't be converted. Instead, the original contents of the TPicture are discarded and Icon returns a new, blank icon.

Note: When assigning the Icon property, TPicture assigns the properties of a another Icon object. It does not take ownership of the specified value.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!