A5_CSS_EDITOR Function

Syntax

Style_Sheet as C = a5_css_editor(C css ,C path ,C name [,L fromfile [,L inWebProject [,L flagMDI ]]])

Arguments

Style_Sheet

The final contents of a new or edited cascading style sheet.

css

The initial contents of a new cascading style sheet. NULL when editing an existing style sheet.

path

The location of the cascading style sheet.

name

The name of the cascading style sheet.

fromfile

Optional. Default = .F. .T. = Open an existing file. .F. = Create a new file.

inWebProject

Logical

flagMDI

Logical

Description

Edit css.

Discussion

The A5_CSS_EDITOR() function displays the CSS Editor, which allows you to edit multiple styles in a cascading style sheet.

images/A5_CSS_Editor().gif

Example

Edit from a file:

a5_css_editor("","C:\Program Files\A5V8\CSS\Bluemoon\","style.css",.t.)

Edit from a string:

a5_css_editor("a{color: red;}","C:\Program Files\A5V8\CSS\Bluemoon\","My Style Title")

Limitations

Desktop applications only.

See Also