アプリケーション外観のベースとして使用されるスタイル
祖先 - オブジェクト (PRIM_OBJT)

詳細


A Theme is a collection of DrawStyles used to configure the appearance and behavior of controls and features of an application. It is akin to a typical CSS file defined for a web page, providing a central point in which to define the vast majority, if not all, of the styles required in an application.
A range of predefined System Themes is shipped with the product providing a base set of colors based on the Google Material Design guidelines. The default theme for Web Pages is 2015Gray. These themes may be entirely adequate for many applications and can be applied with little more than a click or two in the IDE by selecting the required theme from the ribbon.
Default themes can be extended by creating a user Themes. A different BaseTheme can be adopted as required, and the default DrawStyles can be modified to implement whatever color scheme is required. In addition, DrawStyles can be created to suit whatever formatting option is desired.
Themes are tightly integrated with the IDE. When a Theme is applied to a Web Page for example, the controls and features of the application will immediately respond appearing as they would at runtime. Controls subsequently added to the page will also appear correctly. While a Web Page has the Theme specified, individual reusable parts are designed in isolation with no knowledge of the Theme to be used at run time. To simplify the design process and to bring it in to line with designing a page, the IDE supports a Design Theme. By specifying a design Theme, the IDE is given a context, allowing reusable parts to appear correctly.
The Color Palette of a Theme can be modified, but with the exception of the Text, Border and Line colors, it is recommended that new DrawStyles be created.

プロパティ

名前

記述

BaseTheme

基本スタイルおよび色として使用するLANSA提供のテーマ

ComponentClassName

コンポーネントのクラス名です。 オブジェクト (PRIM_OBJT) より継承

ComponentMembers

このコンポーネントの全てにアクセスできるようにします。 オブジェクト (PRIM_OBJT) より継承

ComponentPatternName

コンポーネントのクラスを制限します。 オブジェクト (PRIM_OBJT) より継承

ComponentTag

インスタンス用に値を格納できる汎用スペース オブジェクト (PRIM_OBJT) より継承

ComponentType

ComponentTypeではコンポーネントのタイプ情報にアクセスできます。 オブジェクト (PRIM_OBJT) より継承

ComponentTypeName

ComponentTypeName十分適格なコンポーネントのクラス名です。 オブジェクト (PRIM_OBJT) より継承

Name

コンポーネントの名前 オブジェクト (PRIM_OBJT) より継承

Owner

コンポーネントのオーナーです。 オブジェクト (PRIM_OBJT) より継承

Parent

このインスタンスが添付されているコンポーネントインスタンス。コントロールのビジュアルコンテナまたは子インスタンスのコレクション オブジェクト (PRIM_OBJT) より継承

Style

テーマの省略値定義に使用するスタイルへの参照

Styles

各スタイルにプログラムでアクセスできようにするテーマの省略値プロパティ

Theme100Color

補足の事前定義の基本テーマ色の1つ

Theme200Color

補足の事前定義の基本テーマ色の1つ

Theme300Color

補足の事前定義の基本テーマ色の1つ

Theme400Color

補足の事前定義の基本テーマ色の1つ

Theme500Color

補足の事前定義の基本テーマ色の1つ

Theme50Color

補足の事前定義の基本テーマ色の1つ

Theme600Color

補足の事前定義の基本テーマ色の1つ

Theme700Color

補足の事前定義の基本テーマ色の1つ

Theme800Color

補足の事前定義の基本テーマ色の1つ

Theme900Color

補足の事前定義の基本テーマ色の1つ

ThemeA100Color

補足の事前定義の基本テーマアクセント色の1つ

ThemeA200Color

補足の事前定義の基本テーマアクセント色の1つ

ThemeA400Color

補足の事前定義の基本テーマアクセント色の1つ

ThemeA700Color

補足の事前定義の基本テーマアクセント色の1つ

ThemeAccentDarkColor

補足の事前定義の基本テーマアクセント色の1つ

ThemeAccentLightColor

補足の事前定義の基本テーマアクセント色の1つ

ThemeAccentMediumColor

補足の事前定義の基本テーマアクセント色の1つ

ThemeBorderColor

基本テーマ枠線色

ThemeDisabledColor

無効な状態の基本テーマ色

ThemeErrorDarkColor

補足の事前定義の基本テーマエラー色の1つ

ThemeErrorLightColor

補足の事前定義の基本テーマエラー色の1つ

ThemeErrorMediumColor

補足の事前定義の基本テーマエラー色の1つ

ThemeInactiveColor

非アクティブな状態の基本テーマ色

ThemeLineColor

基本テーマ線色

ThemeSuccessDarkColor

補足の事前定義の基本テーマ正常終了色の1つ

ThemeSuccessLightColor

補足の事前定義の基本テーマ正常終了色の1つ

ThemeSuccessMediumColor

補足の事前定義の基本テーマ正常終了色の1つ

ThemeTextColor

基本テーマテキスト色

ThemeTextLightColor

基本テーマのテキスト色

イベント

名前

記述

CreateInstance

コンポーネントを作成する時にCreateInstanceのイベントを実行します。 テーマ (PRIM_THM) より継承

DestroyInstance

コンポーネントが解除される前にDestroyInstanceのイベントを実行します。 テーマ (PRIM_THM) より継承

参照

すべてのコンポーネント クラス
テクニカルリファレンス