IToolbar

動作

コレクションIToolbarButtonオブジェクト。ツールバーのことです。

メソッド

定義 説明
AppendButton( commandId :TCommandID, text : string ) :IToolbarButton

コマンドIDを持つツールバー項目を追加します。CommandIdとテキストTextツールバーの最後。またIToolbarButtonオブジェクト(対応する要素の)。

全てのコマンドIDTCommandID列挙体を使用できます(CI_SubMenuCI_Separator)ただし次は除く→CI_Undefined。ForCI_SeparatorTextパラメータは無視されます。

Delete( index : int ) コレクション内のインデックスで項目を削除します。
Find( commandId :TCommandID) : int コレクション内の指定されたIDを持つボタンのインデックスを検索します。
InsertButton( index : int, commandId :TCommandID, text : string ) :IToolbarButton

コマンドIDを持つツールバー項目を挿入します。CommandIdとテキストTextこの位置でインデックス(ツールバーの)。またIToolbarButtonオブジェクト(対応する要素の)。

全てのコマンドIDTCommandID列挙体を使用できます(CI_SubMenuCI_Separator)ただし次は除く→CI_Undefined。ForCI_SeparatorTextパラメータは無視されます。

Reset() すべての変更をリセットして、ツールバー本来のビューを復元します。

プロパティ

名前 タイプ アクセス 説明
Name string 読み取り専用 ツールバーの名前
Type TCommandBarType 読み取り専用 ツールバーのタイプ
Visible bool 読み取り/書き込み ツールバーを表示するか指定

25.05.2023 7:55:10

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.