PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
0
Example
// Create and initialize a Wire control
// This wire links the BTN_ControlA and BTN_ControlB controls
WireName is Control
 
WireName <- ControlCreate("", typWire)
WireName.StartControl = BTN_ControlA
WireName.EndControl = BTN_ControlB
WireName.ShapeExtremityStart = shapeDiamond
WireName.ShapeExtremityEnd = shapeCircle
WireName.ShapeExtremitySize = 8
Syntax

Finding out the type of shape used for the end extremity of a Wire control Hide the details

<Result> = <Wire control>.ShapeExtremityEnd
<Result>: Integer constant
Type of shape used:
shapeNoneNo shape.
shapeSquareShape of end extremity: Square.
shapeArrowShape of end extremity: Arrow.
shapeDiamondShape of end extremity: Diamond.
shapeCircleShape of end extremity: Circle.
shapeTriangleShape of end extremity: Triangle.
<Wire control>: Control name
Name of the Wire control to use.

Modifying the type of shape used for the end extremity of a Wire control Hide the details

<Wire control>.ShapeExtremityEnd = <New shape>
<Wire control>: Control name
Name of the Wire control to use.
<New shape>: Integer constant
New shape to use at the end of the Wire control:
shapeNoneNo shape.
shapeSquareShape of end extremity: Square.
shapeArrowShape of end extremity: Arrow.
shapeDiamondShape of end extremity: Diamond.
shapeCircleShape of end extremity: Circle.
shapeTriangleShape of end extremity: Triangle.
Remarks
  • The color of the shape at the start and at the end of the Wire control is defined by Color.
  • The size of the shape at the start and at the end of the Wire control is defined by ShapeExtremitySize.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment