ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The MaxNbSegment property gets and sets the maximum number of line segments for drawing a Wire control.
Example
// On ajoute un point de passage au fil pour qu'il prenne le chemin que l'on souhaite
PointPassage1, PointPassage2 are Points 

PointPassage1.X = 280
PointPassage1.Y = 54

PointPassage2.X = 320
PointPassage2.Y = 54
FIL_MonFil.NbMaxSegment = 20

FIL_MonFil.PointDePassage = [PointPassage1, PointPassage2]
Syntax

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

<Result> = <Wire control>.MaxNbSegment
<Result>: Integer
  • Maximum number of line segments making up the Wire control,
  • 1 corresponds to the drawing of a single line between two controls.
<Wire control>: Control name
Name of the Wire control to use.

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

<Wire control>.MaxNbSegment = <New maximum number>
<Wire control>: Control name
Name of the Wire control to use.
<New maximum number>: Integer
  • Maximum number of line segments making up the Wire control,
  • 1 corresponds to the drawing of a single line between two controls.
Note: If it is possible to draw the Wire control with fewer segments, the layout is automatically simplified..
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help