PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..WayPoint is used to find out and modify the mandatory way points for a Wire control.
Example
x is Control
x <- ControlCreate("", typWire)
x..StartControl = BTN_NoName1
x..EndControl = BTN_NoName2
x..WayPoint = "10,50,10,120"
// Add a checkpoint to the wire so that it takes the desired path
Checkpoint1, Checkpoint2 are Points
 
Checkpoint1..X = 280
Checkpoint1..Y = 54
 
Checkpoint2..X = 320
Checkpoint2..Y = 54
MyWire..MaxNbSegment = 20
 
MyWire..WayPoint = [WayPoint1, WayPoint2]
Syntax

Finding out the mandatory way points for a Wire control Hide the details

<Result> = <Control name>..WayPoint
<Result>: Array of points
Array of Point variables containing the coordinates of way points.
Caution: The coordinates of way points are relative to the start position of wire.Caution: By default, the coordinates of way points are relative to the start position of wire. To modify this behavior, use ..OriginPassingPoint.
<Control name>: Character string (with or without quotes)
Name of the Wire control to use.

Modifying the mandatory way points for a Wire control Hide the details

<Control name>..WayPoint = <New Points>
<Control name>: Character string (with or without quotes)
Name of the Wire control to use
<New Points>: Array of points
  • Array of Point variables containing the coordinates of way points.
  • Character string containing the different coordinates separated by commas.
  • Empty string ("") to delete all the way points.
Caution: The coordinates of way points are relative to the start position of wire.Caution: By default, the coordinates of way points are relative to the start position of wire. To modify this behavior, use ..OriginPassingPoint.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment