PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
The Property OriginePointDePassage makes it possible to know and define the origin of the points whose coordinates are specified in the Property WayPoint.
Example
// The Wire control goes through the STC_Center control
WIRE_MyWire.OriginPassingPoint = wireOriginWindow  
pt1 is Point = [STC_Center.X, STC_Center.Y]
WIRE_MyWire.WayPoint = [pt1]
Syntax

Know the origin of the points specified in the Property WayPoint Hide the details

<Result> = <Wire control>.OriginPassingPoint
<Result>: Integer constant
Current origin taken into account for the coordinates of the points:
wireOriginStartControlThe coordinates are relative to the top left point of start control for the Wire control.
wireOriginWindowThe coordinates are relative to the origin of the window.
Remark: This constant forces the Wire control to go through a fixed position even if the control is moved.
wireOriginStartPointThe coordinates are relative to the start point of the Wire control.
<Wire control>: Control name
Name of the Wire control to use.

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

<Wire control>.WayPoint = <New Origin>
<Wire control>: Control name
Name of the Wire control to use
<New Origin>: Integer constant
New origin taken into account for the coordinates of the points:
wireOriginStartControlThe coordinates are relative to the top left point of start control for the Wire control.
wireOriginWindowThe coordinates are relative to the origin of the window.
Remark: This constant forces the Wire control to go through a fixed position even if the control is moved.
wireOriginStartPointThe coordinates are relative to the start point of the Wire control.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment