Tuto WEBDEV 25

Part 4: Internet site with data 151 ▶ To create the simple Static control used to display the product caption: 1. On the "Creation" pane, in the "Usual controls" group, expand "Text" and select "Simple static". 2. Click in the page (on the right of image for example). Remark To simplify the positioning of controls, press the F7 key. A press on this key is used to see the area occupied by the control, a second press on this key is used to display an outline around the control (in edit only). This allows you to see the control border and to easily position the controls in relation to the other ones. This feature is very useful for the controls without border. 3. Rename the Static control: "STC_Title". 4. Enlarge the control horizontally (using the sizing handles). ▶ We are going to display the product description in a rich Static control (called Rich Text Area). To create this control: 1. On the "Creation" pane, in the "Usual controls" group, expand "Text" and select "Rich Text Area". You also have the ability to click the "Text" icon directly. 2. Click inside the page (to the right of image for example, below the STC_Title control). 3. Rename the control: "RTA_Description". We are going to display the product price in a formatted display control. This control is used to display dates, times and currency values while respecting the corresponding display format.

RkJQdWJsaXNoZXIy NDQ0OA==