PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..OriginPassingPoint is used to find out and define the origin of the points whose coordinates are specified in ..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

Finding out the origin of the points specified in ..WayPoint Hide the details

<Result> = <Control Name>..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 the start control for the Wire control.
wireOriginWindowThe coordinates are relative to the origin of the window.
Note: 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.
<Control Name>: Character string (with or without quotes)
Name of the Wire control to use.

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

<Control Name>..WayPoint = <New Origin>
<Control Name>: Character string (with or without quotes)
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 the start control for the Wire control.
wireOriginWindowThe coordinates are relative to the origin of the window.
Note: 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