Skip to main content

ShowConditionalFormattingRulesManagerDialog(IdxDialogOwner) Method

Invokes the “Conditional Formatting Rules Manager” dialog for a specified spreadsheet control.

Declaration

procedure ShowConditionalFormattingRulesManagerDialog(AOwner: IdxDialogOwner);

Parameters

Name Type
AOwner IdxDialogOwner

Remarks

Call this function to invoke the dialog that provides end-user conditional formatting rule management functionality for the active worksheet in a target spreadsheet control passed as the AOwner parameter. The control must support conditional formatting (that is, implement the IdxDialogOwner and IdxSpreadSheetConditionalFormatting interfaces); otherwise – a ShowConditionalFormattingRulesManagerDialog procedure call has no effect.

A TdxSpreadSheetShowConditionalFormattingRulesManager action object’s overridden Execute function calls the ShowConditionalFormattingRulesManagerDialog procedure for an associated spreadsheet control.

The second overloaded function variant is designed for use in C++Builder code, due to compiler limitations. This variant accepts a pointer to a spreadsheet control (AOwner) that has a conditional formatting functionality.

Note: The ShowConditionalFormattingRulesManagerDialog procedure invokes the “Conditional Formatting Rules Manager” dialog only for spreadsheet controls. To invoke the corresponding dialog for a container control that supports conditional formatting, call the ShowRulesManagerDialog procedure accessible via:

See Also