Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxBackground.SetupEffects Method

Displays the Fill Effect dialog on screen.

#Declaration

Delphi
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