cObject
---cUIObject
------DfBaseObject
---------DfBaseWindow
------------DfBaseUIWindow
---------------DfBaseContainer
------------------DfBaseDialog
---------------------Container3d
------------------------BitmapContainer
---------------------------dbBitmap
BitmapContainer is used to provide a means for enabling users to select bitmap graphic files to display in programs.
Object aBitMapContainer is a BitMapContainer Set Size to height width Set Location to column row Set Bitmap to "bitmapname.bmp" Set Allow_Select_Bitmap_State to True | False Set Dialog_Caption to "Title for common-file-dialog object" Set Initial_Folder to "initial file directory" End_Object
Each object of this class supports the display of a single bitmap. You can control whether users may select the bitmap from files in a directory by setting the Allow_Select_Bitmap_State property. If this property is true, a common open-file dialog will be displayed when this object is double-clicked to support the selection from the directory named in the Initial_Folder property. The double_click sends the message Invoke_Select_Bitmap. This dialog will display a title consisting of the value of the Dialog_Caption property, in which you can display the name of the current directory, describe the subject matter of the filenames displayed, or the like.
Data Access Worldwide provides the DataFlex Graphics Library free of charge for more advanced graphics work in DataFlex applications.