PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Draws a border.
Example
// Draw a rectangle with blue borders, green background and rounded corners
Rect is Rectangle
Rect..X = 10
Rect..Y = 15
Rect..Width = 100
Rect..Height = 150
BorderStyle is Border
BorderStyle..Color = LightBlue
BorderStyle..Round = 30
BorderStyle..Thickness = 1
BackgroundStyle is Background
BackgroundStyle..Color = LightGreen
dBorder(Rect, BorderStyle, BackgroundStyle)
Syntax
dBorder(<Border> [, <Border Style> [, <Background Style>]])
<Border>: Rectangle variable
Name of the Rectangle variable specifying the limits of the border to draw.
<Border Style>: Optional Border variable
Name of the Border variable describing the style of the border to draw.
If this parameter is not specified or if the ..Color, ..Thickness and ..Line properties of the Border type are undefined, the information of the current style (defined by dPen) are used. If dPen was not used: :
  • Border color: corresponds to the background color of the rectangle.
  • Thickness: 1
  • Line: corresponds to the LineSolid constant.
<Background Style>: Optional Background variable
Name of the Background variable describing the background of the border to draw.
If this parameter is not specified, the information of the current brush is used.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230pnt.dll
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment