DIBMP:LoadDIBFromField() Method
<< Click to Display Table of Contents >> DIBMP:LoadDIBFromField() Method |
![]() ![]() ![]() |
Purpose
To load a bitmap from a DBF field.
Syntax
<oDIBMP>:LoadDIBFromField(xField, [xAlias]) → lSuccess (LOGIC)
Arguments
xField |
The field containing the bitmap (character name or numeric position). |
xAlias |
Optional. The alias where the field is located (character, numeric or DBServer). The default is the current area. |
Description
This method loads a bitmap from a DBF field. The field must contain a BITMAPFILEHEADER structure or it is ignored.
The BITMAPFILEHEADER structure is a standard Windows structure. Please refer to the Windows SDK reference for more information.
Due to the 64K size limit of strings in a 16 bit application, the size of a bitmap loaded via this method must be less than 64K when using the RP2/16 runtime.
Example
// Load a bitmap from a field
oDIBMP:LoadDIBFromField("BMPField")