Floater property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

Syntax OLE_HANDLE Floater

Overview:  Refer to Creating and Using a Bitmap Region.

Remarks

Specifies the floater bitmap for the Main Control.

A floater is an additional bitmap that is associated with the Main Control. Its common application is to implement the interactive visual aspects of an outline-drag-and-paste operation. You use it to get a copy of the image in the current bitmap region, which the user can drag to another position in the Main Control's client area.

You can create the floater bitmap by assigning the Main Control's Bitmap property to it. The floater bitmap that this creates is the size of the bounding rectangle of the main bitmap's region, and it contains the same region as the main bitmap.

You can also make a copy of the floater bitmap by assigning it to the another Main Control's Bitmap property.

See Also

Elements:  FloaterVisible property, IsPtInFloater method

Topics:  Raster Images: Copying Images
Raster Images: Creating and Using a Region