PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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 is replaced by 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 start control for the Wire control.
wireOriginStartPointThe coordinates are relative to the start 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 start control for the Wire control.
wireOriginStartPointThe coordinates are relative to the start 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