Creates a TCustomBitmap instance with the content for the named Typhon resource.
Source position: graphics.pp line 2047
function CreateBitmapFromResourceName( |
Instance: TLCLHandle; |
const ResName: string |
Instance |
|
Handle for the Typhon 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 Typhon resource. Typically used to load button glyphs and icons displayed on the component palette in the Typhon IDE.
Modified in LCL version 4.0 to use the TLCLHandle type instead of the deprecated THandle type in the Instance parameter.
|
||
WSReferences.TLCLHandle |
| CT Web help |
| CodeTyphon Studio |