TextForegroundBitmap property (LEADDlgEffect Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

TBitmapHandle TextForegroundBitmap

Delphi Syntax

TextForegroundBitmap: TBitmapHandle

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the bitmap to be used for the foreground of the text in the Text dialog box. This bitmap will be updated if the user chooses a new image using the Browse Image button. (DLG_TEXT_BROWSEIMAGE is set in the DlgFlags property.)

Fill this property with a valid bitmap to be used for the foreground of the previewed text when DLG_TEXT_SHOW_PREVIEW is set in the DlgFlags property.

To free the memory used by this bitmap, assign a value of 0.

If this property is set from a Main Control, a copy of the image will be made.

See Also

Elements:

ShowGetTextDlg method, DlgFlags property.

Topics:

Imaging Common Dialogs: Properties, Methods, and Events