VDS Renaissance 的界面提供多种语言。官方文档以英语维护,以确保提供统一、一致且始终最新的参考。
TEXT dialog element
Syntax
DIALOG ADD,TEXT,<name>,<top>,<left>,<width>,<height>,<text>,<tooltip>,<styles>
Description
This dialog element displays <text> at the position and size specified, in the specified <style>. If <width> and <height> are left blank, the width of the dialog element is automatically sized to the displayed text.
A <tooltip> may be specified to be displayed when the pointer is over the area occupied by the dialog element. Note: If a tooltip is required, the <width> and <height> of the dialog element must be specified.
Styles
In addition to user-defined styles to change the default font style and color, the following styles may be used with this dialog element:
| CLICK | The element will generate a <name>CLICK event whenever it is clicked. |
| FITPATH [VDS6] | If the <width> has been specified, and the <text> is a path, and the path is too long to fit within the specified width, the displayed text will be shortened using ellipsis ('...'). |
| FITTEXT [VDS6] | If the <width> has been specified, and the <text> is too long to fit within the specified width, the displayed text will be truncated and ellipsis ('...') placed at the end. |
| <cursor style> | The cursor will change to the named style when the pointer is over the dialog element. Valid styles are: NONE, ARROW, CROSS, IBEAM, SIZE, NESW, NS, NWSE, WE, UP, WAIT, DRAG, NODROP, HSPLIT, VSPLIT, MULTI, SQL, NO, HELP, HAND. |
See also
|