Tuto WEBDEV 25
284 Part 7: Specific Web features Implementing styles: a practical example Enough theory, let’s get down to work. We are going to create an edit control and to modify its styles in th "PAGE_Styles" page of "Styles" project. Remark: We will be using an edit control but the principle for handling styles can be applied to all controls available in WEBDEV. ▶ To create the edit control: 1. On the "Creation" pane, in the "Usual controls" group, click . 2. Click the position where the control will be created in the page. This control is associated with a WEBDEV style (it is the default WEBDEV style defined in the skin chosen when creating the project). ▶ Three methods can be used to select the WEBDEV style of a control: • Via the "Style" tab found in the control description of control (as already seen). • Via the "Modification" pane of ribbon: a preview of different WEBDEV styles available for the control is displayed. • By displaying the popup menu of control and by selecting "Choose a WEBDEV style". ▶ This last method will be used to associate the control that was just created with the "EDT_ Custom" style. This style is used by all other page controls. 1. Select the control that was just created. 2. Display the context menu of control and select "Choose a WEBDEV style". 3. In the window that appears, select the "Custom" style.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==