ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The WayPoint property is used to determine and change the points a Wire control has to pass through.
Example
x is Control
x <- ControlCreate("", typWire)
x.ChampDépart = BTN_SansNom1
x.ChampArrivée = BTN_SansNom2
x.PointDePassage = "10,50,10,120"
// On ajoute un point de passage au fil pour qu'il prenne le chemin que l'on souhaite
PointPassage1, PointPassage2 are Points 

PointPassage1.X = 280
PointPassage1.Y = 54

PointPassage2.X = 320
PointPassage2.Y = 54
FIL_MonFil.NbMaxSegment = 20

FIL_MonFil.PointDePassage = [PointPassage1, PointPassage2]
Syntax

Finding out the mandatory waypoints for a Wire control Hide the details

<Result> = <Wire control>.WayPoint
<Result>: Array of points
Array of Point variables containing the coordinates of waypoints.
Caution: By default, waypoint coordinates are those relative to the start position of the thread. To change this behavior, use the OriginWaypoint property.
<Wire control>: Control name
Name of the Wire control to use.

Modifying the mandatory waypoints for a Wire control Hide the details

<Wire control>.WayPoint = <New Points>
<Wire control>: Control name
Name of the Wire control to be used
<New Points>: Array of points
  • Array of Point variables containing the coordinates of waypoints.
  • Character string containing the different coordinates separated by commas.
  • Empty string ("") to delete all the waypoints.
Caution: By default, waypoint coordinates are those relative to the start position of the thread. To change this behavior, use the OriginWaypoint property.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help