Vcl.ExtCtrls.TCustomRadioGroup.Buttons
Delphi
property Buttons[Index: Integer]: TRadioButton read GetButtons;
C++
__property Vcl::Stdctrls::TRadioButton* Buttons[int Index] = {read=GetButtons};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | public | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TCustomRadioGroup |
説明
個々の TRadioButton オブジェクトにアクセスします。
Buttons を使用すれば,コントロールが作成した個々の TRadioButton オブジェクトに直接アクセスできます。Buttons は,読み出し専用プロパティです。つまり,個々の TRadioButton オブジェクトにアクセスはできますが,TRadioButton オブジェクトを追加したり,削除したりすることはできません。ボタンリストを修正するには,Items プロパティを変更します。
Index は 0 から始まるボタンのインデックスです。Index がボタンの数以上であれば,エラーになります。