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

12.04.2024 18:16:02

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.