|
|
|
|
|
WayPoint (Property) In french: Pointdepassage
The WayPoint property is used to determine and change the points a Wire control has to pass through. x is Control x <- ControlCreate("", typWire) x.StartControl = BTN_NoName1 x.EndControl = BTN_NoName2 x.WayPoint = "10,50,10,120"
// Add a waypoint to the wire so that it follows the desired path Waypoint1, Waypoint2 are Points  Waypoint1.X = 280 Waypoint1.Y = 54  Waypoint2.X = 320 Waypoint2.Y = 54 WIRE_MyWire.MaxNbSegment = 20  WIRE_MyWire = [Waypoint1, Waypoint2]
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, the coordinates of waypoints are relative to the start position of wire. 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, the coordinates of waypoints are relative to the start position of wire. To change this behavior, use the OriginWaypoint property.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|