ウィキのコピーミラー

これは pascal.chat のウィキのミラーです。編集、履歴、ログインはそちらで行います。

TBitBtn/ja

Deutsch · English · Español · Français · Polski · Suomi · Русский · 日本語

TBitBtn は、その表面に描画されたビットマップを持つボタンを作成するコンポーネントである。TBitBtnはTWinControlの派生であり、Component Palette/jaのAdditional tab/jaタブの下で利用できる。

標準のボタンを使用しやすくするために、TBitBtnにはKindというプロパティがある。このプロパティを使用すると、bkOkのようなボタンの種類を選択できる。これにより、テキストと対応する画像を持つ[OK]ボタンを作成できる(Glyp、モーダル結果 mrOk)。

GlyphとCaptionの配置は、これらのプロパティを使用して制御できる:

フォームに複数の縦に積み重ねられたBitBtnコンポーネント(Layout=blGlyphLeft)があり、グリフとキャプションを左揃えにしたい場合は、MarginとSpacingを4などの正の値に設定する。

以下も参照のこと


From the Free Pascal wiki, page "TBitBtn/ja", as it stood on 2024-03-25 after a change by Ariben, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

第2版、最終更新:WikiArchive 。