Bitmap - FloatingPanel

Displays a bitmap in an object

Type: Property

Access: Read/Write

Data Type: String

Parameters: None

Syntax
 Property String Bitmap

Read Access: Get Bitmap to StringVariable
Write Access: Set Bitmap to StringVariable/Value


Description

The Bitmap message will display a bitmap in an object. In other words, the bitmap becomes the background of the object.
Bitmap_Style determines how and where the bitmap will display in the object.

There are two potential drawbacks to using bitmaps: the amount of storage (on disk) , and the constant memory consumption.

Sample

This sample sets the bitmap to "MyBitmap.bmp".

set Bitmap to "MyBitmap.bmp"


Note:
In order to make a cohesive application, DataFlex must find the .EXE file and the .bmp (bitmap) file, by using DFPATH.


DataFlex supports transparency for bitmaps using the /t and /3d flags:

set Bitmap to "MyBitmap.bmp/3d/t"

Please see Programming for Transparency for more information.