ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The ShapeExtremityEnd property is used to identify and change the type of shape used for the end of a Wire control.
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 be used.

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 be used.
<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 source and target shape in a Wire control is set by the Color property.
  • The size of the source and target shape in a Wire control is set by the ShapeExtremitySize property.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/08/2024

Send a report | Local help