Vcl.ComCtrls.TListItem.SetPosition

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

Delphi

procedure SetPosition(const Value: TPoint);

C++

void __fastcall SetPosition(const System::Types::TPoint &Value);

プロパティ

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

説明

リストビューコントロールでリスト項目を配置します。

SetPosition メソッドを呼び出すと,リスト項目を指定した位置に移動できます。Value パラメータには移動した後のリスト項目の左上隅の位置を示す座標を指定します。

メモ:  リストビューコントロールの ViewStyle プロパティは vsIcon または vsSmallIcon に設定されている必要があります。

関連項目