IExportButton

Defines the public contract for the ExportButton class, exposing read-only export identification and read/write filter state. Consumers query ExportNumber to identify which export definition the button drives, and UseFilter to read or toggle the associated filter checkbox state.

Properties

ExportNumber #

Export number derived from button name

Signature:

Public Property Get ExportNumber() As Long

Returns the 1-based export definition number parsed from the button Name property (e.g. "CMDExport1" yields 1).

Returns: Long. The 1-based export number.


UseFilter #

Whether the filter checkbox is checked

Signature:

Public Property Get UseFilter() As Boolean

Returns the current value of the filter checkbox. Returns False when no checkbox was bound.

Returns: Boolean. True when the filter checkbox is checked.


UseFilter #

Set the filter checkbox value

Signature:

Public Property Let UseFilter(ByVal value As Boolean)

Parameters:

  • value: Boolean. True to check, False to uncheck.