PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
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
..MaxNbSegment is used to find out and modify the maximum number of line segments for drawing a Wire control.
Example
// 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]
Syntax

Finding out the maximum number of line segments for a Wire control Hide the details

<Result> = <Control Name>..NbMaxSegment
<Result>: Integer
  • Maximum number of line segments making up the Wire control,
  • i corresponds to the drawing of a single line between two controls.
<Control Name>: Character string (with or without quotes)
Name of the Wire control to use.

Modifying the maximum number of line segments for a Wire control Hide the details

<Control Name>..MaxNbSegment = <New Maximum Number>
<Control Name>: Character string (with or without quotes)
Name of the Wire control to use.
<New Maximum Number>: Integer
  • Maximum number of line segments making up the Wire control,
  • i corresponds to the drawing of a single line between two controls.
Note: If the Wire control can be drawn with less segments, the drawing is automatically simplified.
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment