De interface van VDS Renaissance is in meerdere talen beschikbaar. De officiële documentatie wordt in het Engels onderhouden om één consistente en altijd actuele referentie te garanderen.
RICHEDIT dialog element
[VDS7]
Syntax
DIALOG ADD,RICHEDIT,<name>,<top>,<left>,<width>,<height>,<text>,<tooltip>,<styles>
Description
This dialog element creates a rich text box at the position and size specified, containing the text <text>. Unlike the plain EDIT element, a RICHEDIT can show colour, bold and different fonts within the text; it is multi-line and cross-platform. EDIT is unchanged — RICHEDIT is a separate, additional control.
Set the text with DIALOG SET,<name>,<text> and read it with @DLGTEXT (or @TEXT).
Styles
| VDS | The contents are coloured as Visual DialogScript code each time the text is set — commands, @functions, %variables, "strings", :labels and comments take the editor's syntax colours. |
| READONLY | The text is displayed read-only (the user cannot edit it). |
| WRAP | Long lines are word-wrapped within the boundaries of the element. |
Example
DIALOG ADD,RICHEDIT,Code,30,10,520,260,,,VDS
DIALOG SET,Code,# example@lf()dialog add,EDIT,Name,10,10,200,20
See also
- EDIT dialog element
- AI streaming
- Dialogs