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 ShapeExtremityStart property gets and sets the source end shape 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

Getting the source end shape in a Wire control Hide the details

<Result> = <Wire control>.ShapeExtremityStart
<Result>: Integer constant
Type of shape used:
shapeNoneNo shape.
shapeSquareSource end shape: Square.
shapeArrowSource end shape: Arrow.
shapeDiamondSource end shape: Diamond.
shapeCircleSource end shape: Circle.
shapeTriangleSource end shape: Triangle.
<Wire control>: Control name
Name of the Wire control to be used.

Modifying the source end shape in a Wire control Hide the details

<Wire control>.ShapeExtremityStart = <New shape>
<Wire control>: Control name
Name of the Wire control to be used.
<New shape>: Integer constant
New shape to use at the start of the Wire control:
shapeNoneNo shape.
shapeSquareSource end shape: Square.
shapeArrowSource end shape: Arrow.
shapeDiamondSource end shape: Diamond.
shapeCircleSource end shape: Circle.
shapeTriangleSource end shape: 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