Xbasic
A5_HTML_EDITOR Function
Syntax
C a5_html_editor([C tabname [,C html_code [,C default_ext [,L use_toolbars ]]]])
Arguments
- tabname
Optional. Defines which of two tabs will appear. Defaults to "WYSIWYG". Possible values are:
- "WYSIWYG"
- "Source" = HTML code
- Other values = The WYSIWYG tab gets the initial focus.
- html_code
Optional. Default = "". Initial text to put into the editor.
- default_ext
Character
- use_toolbars
Logical
Description
The A5_HTML_EDITOR() function displays the HTML Editor and returns the title of the window that was created.
Example
This example initializes the editor with plain text.
a5_html_editor("WYSIWYG", "Initial text to appear in the editor.")
This example initializes the editor with html text, although the results appear in the WYSIWYG tab.
dim cc as C cc = "A5_HTML_EDITOR()" cc = cc + " A5_HTML_EDITOR() Syntax " cc = cc + "A5_HTML_EDITOR( Tabname as C, " cc = cc + "HTML_Text as C ) " a5_html_editor("WYSIWYG", cc)
Limitations
Desktop applications only.
See Also