ヘルプ
ヘルプTips
このプロパティで、フォーム上のアクティブオブジェクトにヘルプTip を付加することができます。 ランタイムにおいてマウスがオブジェクト上にあるとき、ヘルプメッセージが Tip として表示されます:
- The display delay and maximum duration of help tips can be controlled using the
Tips delay
andTips duration
selectors of the SET DATABASE PARAMETER command.- Help tips can be globally disabled or enabled for the application using the Tips enabled selector of the SET DATABASE PARAMETER command.
これには、次の二つの方法があります:
- designate an existing help tip, previously specified in the Help tips editor of 4D.
- または、プロパティリストに直接 Tip を文字列として入力します。 この方法では、XLIFF アーキテクチャーを利用することができます。 You can enter an XLIFF reference here in order to display a message in the application language (for more information about XLIFF, refer to Appendix B: XLIFF architecture. You can also use 4D references (see Using references in static text).
macOS においては、Pop up window (32) 型のウィンドウはヘルプTips の表示ができません。
JSON 文法
名称 | データタイプ | とりうる値 |
---|---|---|
tooltip | text | ユーザー用のヘルプ情報 |
対象オブジェクト
Button - Button Grid - Check Box - Drop-down List - Combo Box - Hierarchical List - List Box Header - List Box Footer - Picture Button - Picture Pop-up menu - Radio Button
追加のヘルプ機能
オブジェクトにヘルプTip を関連付ける方法は他にも 2通りあります:
- データベースストラクチャーレベルにおいて設定することができます (フィールドのみ)。 この場合、当該フィールドが表示されるすべてのフォームにおいて、このヘルプTip が表示されます。 For more information, refer to “Help Tips” in Field properties.
- using the OBJECT SET HELP TIP command, for the current process.
同じオブジェクトに対して複数の Tip が関連づけられている場合には、次の優先順位に従って表示されます:
- ストラクチャーレベル (最低優先度)
- フォームエディターレベル
- OBJECT SET HELP TIP command (highest priority)