L’interface de VDS Renaissance est disponible en plusieurs langues. La documentation officielle est maintenue en anglais afin de garantir une référence unique, cohérente et toujours à jour.

RICHEDIT dialog element

Windows Linux macOS

[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