IToolbarButton

What it does

Represents a toolbar button.

Properties

Name Type Access Description
Command TCommandID Read-only

The command identifier. The returned value cannot be CI_SubMenu.

If there is no identifier for a command among TCommandID values, CI_Undefined is returned

Enable bool Read/write

Specifies whether to enable toolbar buttons:

  • If the value is set to false, all toolbar buttons with the specified identifier (the Command property) will be disabled.
  • If the value is set to true, enabling toolbar buttons depends on the internal logic of the program.
Text string Read/write The text on the toolbar button
Visible bool Read/write Specifies whether a toolbar button or a separator is visible

10.11.2020 12:08:04


Please leave your feedback about this article