FMX.Types.FindStyleResource

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

Delphi

function FindStyleResource(const AStyleLookup: string; const Clone: Boolean = False): TFmxObject;

C++

extern DELPHI_PACKAGE TFmxObject* __fastcall FindStyleResource(const System::UnicodeString AStyleLookup, const bool Clone = false);

プロパティ

種類 可視性 ソース ユニット
function public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types


説明

指定した名前(AStyleLookup)のスタイル リソース オブジェクトを返します。

AStyleLookup が空の場合、FindStyleResourcenil を返します。コントロールに直接リンクされているリソース オブジェクトがない場合、FindStyleResource は、コントロールの子のスタイルを探します。それでもリソース オブジェクトが見つからない場合は、nil が返されます。

Clone は、返されるスタイル リソース オブジェクトが元のスタイル オブジェクトか(False)、元のスタイル オブジェクトのコピーか(True)を指定します。

関連項目