Skip to main content

TdxBackground.SetupEffects Method

Displays the Fill Effect dialog on screen.

Declaration

function SetupEffects: Boolean;

Returns

Type
Boolean

Remarks

This method displays the “Fill Effects” dialog on screen. This dialog appears when clicking the Effects property in the Object Inspector or icon on the toolbar of the preview window. The SetupEffects method returns True, if a user presses the OK button to close the “Fill Effects” dialog. Otherwise, it returns False. Use the following code to activate the “Fill Effects” dialog:

if dxComponentPrinter1Link1.PrinterPage.Background.SetupEffects;
then
  {a user has pressed the "OK" button }
  . . .
else
  {a user has pressed the "Cancel" button}
  . . .
See Also