> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IToolbarButton

> IToolbarButton en el modelo de scripting de shell de FlexiCapture: leer o establecer el identificador de comando, el texto, la visibilidad y si un botón de la Toolbar está habilitado.

<div id="what-it-does">
  ## Qué hace
</div>

Representa un botón de la Toolbar.

<div id="properties">
  ## Propiedades
</div>

<table width="100%">
  <thead>
    <tr>
      <th>
        <p>
          <strong>Nombre</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>Tipo</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>Acceso</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>Descripción</strong>
        </p>
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        <p>Command</p>
      </td>

      <td>
        <p>
          <a href="/es/flexi-capture/appendix/scripts-shell/tcommandid">TCommandID</a>
        </p>
      </td>

      <td>
        <p>De solo lectura</p>
      </td>

      <td>
        <p>
          El identificador del comando. El valor devuelto no puede ser <strong>CI\_SubMenu</strong>.
        </p>

        <p>
          Si no existe un identificador para un comando entre los valores de <a href="/es/flexi-capture/appendix/scripts-shell/tcommandid">TCommandID</a>, se devuelve <strong>CI\_Undefined</strong>
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>Enable</p>
      </td>

      <td>
        <p>bool</p>
      </td>

      <td>
        <p>Lectura/escritura</p>
      </td>

      <td>
        <p>Especifica si se habilitan los botones de la Toolbar:</p>

        <ul>
          <li>
            Si el valor se establece en <strong>false</strong>, se deshabilitarán todos los botones de la Toolbar con el identificador especificado (la propiedad <strong>Command</strong>).
          </li>

          <li>
            Si el valor se establece en <strong>true</strong>, la habilitación de los botones de la Toolbar depende de la lógica interna del programa.
          </li>
        </ul>
      </td>
    </tr>

    <tr>
      <td>
        <p>Text</p>
      </td>

      <td>
        <p>string</p>
      </td>

      <td>
        <p>Lectura/escritura</p>
      </td>

      <td>
        <p>El texto que aparece en el botón de la Toolbar</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>Visible</p>
      </td>

      <td>
        <p>bool</p>
      </td>

      <td>
        <p>Lectura/escritura</p>
      </td>

      <td>
        <p>Especifica si un botón de la Toolbar o un separador es visible</p>
      </td>
    </tr>
  </tbody>
</table>
