Skip to main content

ShowConditionalFormattingDataBarRuleStyleEditDialog(TObject,TdxSpreadSheetConditionalFormattingRuleDataBarStyle) Method

Invokes the Data Bar Rule Style Settings dialog for a control with support for conditional formatting.

Declaration

function ShowConditionalFormattingDataBarRuleStyleEditDialog(AOwner: TObject; AStyle: TdxSpreadSheetConditionalFormattingRuleDataBarStyle): Boolean;

Parameters

Name Type Description
AOwner TObject

The target control with support for conditional formatting.

The accepted control must implement IdxDialogOwner and IdxSpreadSheetConditionalFormatting interfaces; otherwise, the function call has no effect.

AStyle TdxSpreadSheetConditionalFormattingRuleDataBarStyle

The required appearance settings of a new or existing Data Bar conditional formatting rule.

Returns

Type Description
Boolean
  • True if a user clicks the OK button or presses the Enter key to close the dialog.
  • False if a user closes the dialog in a different way.

Remarks

Call the ShowConditionalFormattingDataBarRuleStyleEditDialog function to invoke the Data Bar Rule Style Settings dialog for a control with support for conditional formatting.

VCL Spreadsheet: A Data Bar Rule Style Settings Dialog Example

See Also