PC SOFT

AYUDA EN LÍNEA
DE WINDEV, WEBDEV Y WINDEV MOBILE


WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Otros
Procedimientos almacenados
WayPoint (Property)
 
..WayPoint is used to find out and modify the mandatory way points for a Wire control.
Ejemplo
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 requested path
Checkpoint1, Checkpoint2 are Points

Checkpoint1..X = 280
Checkpoint1..Y = 54

Checkpoint2..X = 320
Checkpoint2..Y = 54
MyWire..MaxNbSegment = 20

MyWire..WayPoint = [Checkpoint1, Checkpoint2]
Sintaxis

Finding out the mandatory way points for a Wire control Ocultar los detalles

<Result> = <Control Name>..WayPoint
<Result>: Array of points
Array of Point variables containing the coordinates of the way points.
Caution: The coordinates of the way points are relative to the start position of the wire.
Caution: By default, the coordinates of the way points are relative to the start position of the 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 Ocultar los detalles

<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 the way points.
  • Character string containing the different coordinates separated by commas.
  • Empty string ("") to delete all the way points.
Caution: The coordinates of the way points are relative to the start position of the wire.
Caution: By default, the coordinates of the way points are relative to the start position of the wire. To modify this behavior, use ..OriginPassingPoint.
Versión mínima requerida
  • Versión 21
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario