4.2.21:Text Field Controls – for displaying or entering text

テキスト・フィールド・コントロール(テキストの表示や入力用)

Fields allow you to display text. Fields can optionally allow the user to edit the text. Fields support multiple fonts, styles and colors, images and a subset of basic HTML tags. Fields can be linked to a database using the Database Query Builder or by directly accessing a database with the database library. They can display and render XML using the XML library. List fields allow the user to select one or a set of choices. Table fields allow display of data similar to a spreadsheet. Other types of field can easily be created, including tree views, or any hybrid between these types, with a little scripting. At the time of this writing there is also a 3rd party library available that allows you to host a web browser within an object and control it by script.

フィールドはテキストを表示します。フィールドでは、ユーザーにテキストの編集をさせることもできます。フィールドでは、複数のフォント、スタイルと色、画像と基本的なHTMLタグの一部をサポートしています。フィールドは、データベース・クエリ・ビルダを使ったり、データベース・ライブラリによって直接データベースにアクセスし、データベースと関連付けることもできます。フィールドは、XMLライブラリを使ってXMLを表示させたり表現させたりることもできます。リスト・フィールドでは、唯一の或いは一組の選択を指定できます。テーブル・フィールドでは、スプレッドシート形式でデータを表示できます。フィールドのその他の形式、ツリー・ビューや上述の形式を組み合わせたものを、少しのスクリプトを書くことで簡単に作成できます。このガイドを書いている時点で、幾つかのライブラリがサード・パーティから提供されており、オブジェクト内にウエブ・ブラウザを表示させたり、スクリプトによりコントロールすることなどができます。

Figure 35 – Field Controls

図35 ー フィールド・コントロール


all_img_74