ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Warning
From version 27, OriginPassingPoint is kept for backward compatibility. This property has been replaced with OriginWaypoint.
The OriginWaypoint property is used to get and define the origin of points whose coordinates are specified in the WayPoint property.
Example
// The Wire control goes through the STC_Center control
WIRE_MyWire.OriginWaypoint = wireOriginWindow  
pt1 is Point = [STC_Center.X, STC_Center.Y]
WIRE_MyWire.WayPoint = [pt1]
Syntax

Identifying the origin of points specified in the WayPoint property Hide the details

<Result> = <Wire control>.OriginWaypoint
<Result>: Integer constant
Current origin taken into account for the coordinates of the points:
wireOriginStartControlThe coordinates are relative to the top left point of the source control of the Wire control.
wireOriginStartPointThe coordinates are relative to the starting point of 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.
<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 Origin>
<Wire control>: Control name
Name of the Wire control to be used
<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 the source control of the Wire control.
wireOriginStartPointThe coordinates are relative to the starting point of 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.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/04/2024

Send a report | Local help