Tuto WEBDEV 25

Part 7: Specific Web features 283 ▶ To manage the WEBDEV styles, use the panel displayed on the right of "Style" tab of control: The name of WEBDEV style is displayed at the top of this window. You can: • Choose an existing style, • Add the style of current control to the style sheet of project. This option allows you to re-use this style in other project controls. • Dissociate this control. This option prevents the future style modifications from being applied to this control. This option is not recommended: we advise you to use style overrides. The project skin defines a WEBDEV style for each type of control. This WEBDEV style can be used "as it is" or it can be modified on some control elements. For example, to specify that the caption must be bold on an edit control (and on this one only), you must: • Select the "Caption (CSS)" element in the bottom area of "Style" tab. • Select "Bold" in the bottom area. This modification will not dissociate the WEBDEV style from the control: the Bold property will be overridden in relation to the initial style. Therefore, if the initial style is modified (to change the background color for example), this modification will be applied to this control while keeping the override. Remark To see the overridden elements, simply click the link that indicates the number of overrides performed for the control, at the top of the WEBDEV style management panel.

RkJQdWJsaXNoZXIy NDQ0OA==