FMX.Styles.TStyleManager.TrySetStyleFromResource
Delphi
class function TrySetStyleFromResource(const ResourceName: string): Boolean;
C++
__classmethod bool __fastcall TrySetStyleFromResource(const System::UnicodeString ResourceName);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | FMX.Styles.pas FMX.Styles.hpp |
FMX.Styles | TStyleManager |
説明
ResourceName
からスタイルと読み込み、そのスタイルをアクティブ スタイルとして設定します。
TrySetStyleFromResource は、例外を発生させずにスタイルを設定します。