Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

PRIM_MD.Field - ErrorTextプロパティ 

Panel
bgColor#2c3c4c

フィールドにエラーがある場合に表示するテキスト

PRIM_MD.

...

Field (PRIM_MD.Field) のメンバ

...

データタイプ -

...

文字列

...

詳細

ErrorText プロパティには、Error プロパティに TRUE が設定されている時に表示するテキストを指定します。 このテキストは、入力領域の下の Helper

このテキストは、入力領域の下の Helper 領域に表示されます。

次の例では、あるフィールドがパスワード無効時にエラー表示されます。 次の例では、あるフィールドがパスワード無効時にエラー表示されます。 

     Begin_Com Role(*EXTENDS #PRIM_WEB) Height(672) Width(1017)
Define_Com Class(#PRIM_MD.EditField) Name(#Edit) DisplayPosition(1) Label('Password') Left(112) Parent(#COM_OWNER) TabPosition(1) Top(136) ErrorText('Min 6 chars, one upper|lower|number') HelperPosition(Bottom) Height(68) Width(377)
Evtroutine Handling(#Edit.Changed)
#Edit.Error := *Not #Edit.Value.IsValidPassword( Medium )
Endroutine
End_Com

See also


参照

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