Bevel

(System Library)

Description: Draws a titled beveled box.
Returns: Nothing
Usage Steady State only.
Function Groups: Graphics
Related to: CheckBox | ColorSelect | DropList | DropTree | Edit | GridList | HScrollbar | Listbox | RadioButtons | SpinBox | SplitList | TextBox | ToolBar | VScrollbar
Format: System.Bevel(X1,Y1, X2, Y2 [,Title, AlignTitle, TitleBGColor, TitleFGColor, BevelColor])
Parameters:  
X1
Required. Any numeric expression giving the X coordinate on the screen of one side of the bevel. The smaller of X1 or X2 will always be the left side.
Y1
Required. Any numeric expression giving the Y coordinate on the screen of either the top or bottom of the bevel. The smaller of Y1 or Y2 will always be the top edge.
X2
Required. Any numeric expression giving the X coordinate on the screen of the side of the bevel opposite to X1.
Y2
Any numeric expression giving the Y coordinate on the screen of the top or bottom of the bevel, whichever is the opposite to Y1.
Title
Optional. Any text expression to be used as a title embedded in the bevel. The default value is a null text string.
AlignTitle
Optional. Any logical expression. If true (non-0) the top of the title will be aligned with the top of the defined area, if false (0) the bevel will be aligned with the top of the area and the title will protrude past the top.
The default value is true.
TitleBGColor

Optional. Any numeric expression giving the index of the VTScada Color Palette to display under the title.

Note that this will affect the area immediately under the title (i.e. it does not affect the area inside the bevel). No default value is provided.

TitleFGColor
Optional. Foreground (text) color for the title.
BevelColor
Optional. Color of the bevel line.

Comments:

This module is a member of the System Library, and must therefore be prefaced by \System. as shown in the "Format" section.

If your application predates version 11.2, use the backslash notation rather than dot: \System\

For any optional parameter that is to be set, all optional parameters preceding the desired one must be present, although they may be invalid.

Example:

  System.Bevel(10, 10, 110, 40, \GetPhrase("DescriptionLabel");