Vcl.ComCtrls.TComboExItem.Assign

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure Assign(Source: TPersistent); override;

C++

virtual void __fastcall Assign(System::Classes::TPersistent* Source);

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TComboExItem

説明

ほかの TComboExItem オブジェクトのプロパティをコピーします。

Assign メソッドを呼び出すと,別のコンボボックスの項目のプロパティを当該項目に割り当てることができます。Source パラメータが別の TComboExItem オブジェクトの場合,Assign は,その CaptionImageIndexSelectedImageIndexOverlayImageIndex,および Indent プロパティの値をコピーします。それ以外の場合,Assign は継承メソッドを呼び出して,TComboExItem オブジェクトへのコピーができる AssignTo メソッドを持つオブジェクトからプロパティをコピーします。

関連項目