Skip to content

Invoke_Select_Bitmap - BitmapContainer

Public message causing bitmap selection dialog to appear and if selected displays the bitmap

Type: Procedure

Syntax

Procedure Invoke_Select_Bitmap

Call Example

Send Invoke_Select_Bitmap

Description

Invoke_select_bitmap is a public message causing bitmap selection dialog to appear and if selected displays the bitmap.

Procedure Invoke_Select_Bitmap
    String sFileName
    Get Select_Bitmap to sFileName
    If (sFileName<>"") Begin
        Set Bitmap to sFileName
        Set Changed_State to True
    End
End_Procedure  // Invoke_Select_Bitmap

The method is called from Mouse_Click but is very necessary if you want a dbbitmap to select a picture without the double click method.