[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Creates a TCustomBitmap instance with the content for the named Lazarus resource.
Source position: graphics.pp line 2005
function CreateBitmapFromResourceName( |
Instance: THandle; |
const ResName: string |
Instance |
|
Handle for the Lazarus resource with the content for the bitmap. |
ResName |
|
Name for the RT_BITMAP resource loaded in the routine. |
Bitmap instance created and loaded in the routine.
Used in the implementation of components, and the LCL, to get a bitmap image stored in a Lazarus resource. Typically used to load button glyphs and icons displayed on the component palette in the Lazarus IDE.
Version 3.2 | Generated 2024-02-25 | Home |