RESOURCES

RICH TEXT

warning: file_get_contents(http://www.telize.com/geoip/54.144.57.183) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/www.4d.com/docs/includes/common.inc(1762) : eval()'d code on line 4.

 

Rich Text

New for 4D v12, text within a Text Area, List Box, variable, alpha field, etc., can have multiple styles applied.

 

Text styles include font, size, style (i.e. bold, italics), text color and (under Windows) background color.

 

Style properties can be stored with the text itself, as HTML-style <SPAN> tags, and support both Setters and Getters.

 

 

Applying rich text in 4D v12  (00:34)
Also available in Windows.

 

One feature of particular note that can be activated is the option to allow inline style properties to enrich your text, while maintaining the integrity of your data strings when indexed. So a piece of text, for example, that is stored as

 

<SPAN STYLE="COLOR: #0000FF;">blue</SPAN>berry 

 

would continue to turn up in queries as "blueberry."


 

 

More resources